Problems with pictures!

Please post all install related problems here. Visit this forum first for troubleshooting.
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Problems with pictures!

Post by Arthur Peter »

When i am logged in and I look at the web at the same time. The pictures will show up, but when I am logged off and I look at my site the pictures don't show up.
Does any one know the reason for this?
What have I installed wrong?
Any ideas?
Arthur Peter
frold
Posts: 2151
Joined: Tue 25. Nov 2003, 22:42

Post by frold »

did you set the status to: active and public
http://www.studmed.dk Portal for doctors and medical students in Denmark
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Post by Arthur Peter »

Yes I checked the status and they are both green, which means they are active and public.
Arthur Peter
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

both the article AND the structure are visible, active and public?

also: is the whole article visible while not logged in? and are just the images are missing?

would you post a link to a page where this is evident?
Last edited by pSouper on Wed 31. Mar 2004, 12:42, edited 1 time in total.
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Post by Arthur Peter »

I just wrote some text and tested if the text showed up or not. As soon as I am logged in everything shows up - the picture and the text "test".
However as soon as I unlog the picture doesn't show up anymore, but the text does. However the text that is on the screen has been put in the template and not through a file.

A link to see what I mean - http://www.ttnfc.com

Thanks,
Arthur Peter
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

when you say that 'the image shows up while you are logged on'
do you mean if you click on the aritcle from the article menu anda popup apears of that article were all the images are visible?

I am thinking this could be a path issue.

Check that you have coresponding images in all three dirs... Content, Thumbs_List & Thumbs_Preview. The names are all random now but all three names will be the same.

If there are more than one of each image: this is because you have uploaded the same image number of times, remember deleting images doesn't actually delete the file only the phpwcms's refference to it. To test if you have the right image you must move the image away from Thumb_Preview then re-view the article 'content part' in which it is set to aprear. If no image then you have the right image to check for in the other dir's. NOW the image image back into Thumbs_Preview.

Once you have established that all three images are in the correct places you must check that you setting in conf.inc.php really are correct.
you could post ou phpinfo() and conf.inc.php here for us to look over but please do not include the pass/usser info ;)
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Post by Arthur Peter »

What to I mean with "being logged on"

When I am logged on in the phpwcms.login.php box. To control and set up the web page I need to login to go to the templates, files, page layout etc. etc.

When I am changing things and am logged in, I check to see what happens, since I am just experimenting to see how everything works. When I am logged in and check everything the pictures always show up. However, when I am not logged in and just going to the see the sight. The pictures don't show up. Everything else shows up, but the pictures don't. The only that shows up is a frame in which you can see that there should be a picture.

Hope that helps to understand problem.

Arthur Peter
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

<IMG src="http://ttnfc.com/include/inc_act/act_download.php?dl=8" width=300> is your picture. I think we can see that it is not an image. How are you putting the image in? It looks like that is the problem. Are you using the image content type? image tag? rich text editor?

That would probably be the most help b/c it looks like you just might be using something the wrong way which happens to work when you look at things logged in but not when you are logged out.
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Post by Arthur Peter »

The way I put my imagine in is as follows. When I am logged in I go to "file". I choose the picture I want to put in the template and I click on download. When the picture is downloaded I click to find the property. AFter I have found the property of the picture I copy it and paste it in the template with some html.

However, as you said it must be incorrect because nothing shows up when I log out.

I have tried to use the image replacement tag
{IMAGE:imagename}

but nothing happened. When I put in the imagename it didn't work.
If I go to my file folder where all the pictures are and click on the picture I want the file opens up and then it informs me about under which folder the picture is and what the name of the file is and if it is active and open. When I took the name of this file and used it, it didn't work.

E.g. my folder name is "Test" and I have two pictures in there on called "world" and the other "February04_269.jpg"

I would use the tag as follow:

{IMAGE:February04_269.jpg}
or

{IMAGE:world}

I must be doing something wrong then. Would you be able to explain what am I doing wrong?

Arthur Peter
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

What you would want to do is upload the picture you want to use to your picture folder in phpwcms. This is a folder completely separate and different from the file manager functions. You would upload it via ftp. Then when you want to include it in a template you can use the image replacement tag. like it says in the documentation.

The image tag looks in the folder pictures in your phpwcms root for the names. I hope that helps some. Read the docs on the image tag and it should clear things up.

You can also just put the image in an images folder and do what you were doing to include the image in the template. Since it is something you don't change very often it shouldn't be a big deal to change an img tag if you want to change the template.
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Post by Arthur Peter »

Thanks for your reply I have been able to download the pictures now and they are working as they should.

However, I have two new things now.

1. How can I control the size of the pictures. I tried to use the replacement tage "spacer:10*5" but it doesn't work. I must be doing something wrong. At the moment I use the tage {image: test.jpg}.
Would you be able to explain how I can control the size of picture?

2. If I want to download files with text in it. How do I do this? Do I use the box "article" or is there another way to download text files and get them to show up on web?

Hope someone one can help,
Arthur Peter
User avatar
pSouper
Posts: 1552
Joined: Tue 11. Nov 2003, 15:45
Location: London
Contact:

Post by pSouper »

these are simple usage issues that are documented on http://www.phpwcms.de please read the doumentation.

to set the size of the images you should use any one of 'Images' content parts when developing your article. this is done thusly...

add 'images' content part.
decide who the alignment is to appear.
decide the maximum width and/or height.
decide if the image should popup a new window displaying in full when clicked.

NOTE: if you set a larger, or do not set a maximum width, image sizes larger than the available width allowed by the size set for the 'main' area within the template used for this article structure will be scaled to fit the available width.

downloading any file type is exactly the same as images...
upload the FILE into a folder via the file center or ftp the file to your sites ftp folder and (having set the ftp folder in the conf.inc.php) you are able to use the file center's ftp takeover option.
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

How to control the size of the picture!!

Post by Arthur Peter »

I have read the documentation on "www.phpwcms.de" but it doesn't explain too much.

You advice me to use any of the "Images" content parts.

and follow the following steps:
"add 'images' content part.
decide who the alignment is to appear.
decide the maximum width and/or height.
decide if the image should popup a new window displaying in full when clicked."

Can you give me an example of how you write it down into computer language. I don't understand the part about "add images content part"? What kind of options do I have with alignment?
I understand the width and height and I would like the picture to pop up when clicked.
Hope to hear from someone.

Arthur Peter
Pappnase

Post by Pappnase »

sorry arthur

i hope you don't understand me wrong! but did you ever hear something about learning by doing!? one more time sorry if this would sound ignorant.
but psouper gives you an quite good path how to do.

why do you don't try a little? test it for your self see the result! if this not fit what you think test the next! i found the most of the content part setup is self explained cos you have a lot of small icons wich you show what happens! so (again) please do not missunderstood me.

---edit---

did you have the problems at the levels shopping / teaching!?

or where on your site!?? :?:
Arthur Peter
Posts: 25
Joined: Wed 10. Mar 2004, 23:32

Post by Arthur Peter »

Thanks for your "encouragement". You were saying that

"i found the most of the content part setup is self explained cos you have a lot of small icons wich you show what happens!"

I have no problems trying myself. I am trying most of the time myself, but you were talking about there are "a lot of small icons" I must be missing some. Can you refer me to the page you are talking about? I would really appreciate that.

Thanks for quick response.
Take care,
Arthur Peter
Post Reply