uploading photos problems

Questions about how to install and problems installing - please read the documentation first!
Post Reply
cattydoris
Posts: 4
Joined: Thu May 05, 2011 12:11 pm

uploading photos problems

Post by cattydoris » Thu May 05, 2011 3:51 pm

Help I'm new to this forum so please excuse me if I am doing the posting in the wrong place. I have been updating a website for a charity and keep getting a problem uploading photos to the site. It keeps telling me that the photos can only be one byte in total - help why is this - can any one help. Thanks

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: uploading photos problems

Post by Tata » Thu May 05, 2011 7:17 pm

Check the value for $cf['images']['maxsize'] in configuration. Optimal value is 150000. But you may add any value. However, this value will be ignored by the server if the value set for the server is lover than the value whoch you enter.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cattydoris
Posts: 4
Joined: Thu May 05, 2011 12:11 pm

Re: uploading photos problems

Post by cattydoris » Tue May 10, 2011 12:04 pm

Hi Tata thanks for that, I found that it was set to 75000 and downloads only allowed one byte. So, hopefully I've done the right thing and altered both but now all I get with the photo is an x in a box - no picture so where have I gone wrong. Help, sorry to be such a bother but it's a charity website and quite a few, who like me, know nothing about uploads etc use the site and anything can then go wrong - and does!!. Before all I kept getting was maximum photo size for downloading was one byte - now it uploads but get no picture only an x in a box. Help and thanks in anticipation. CattyDoris

Tata
Posts: 3588
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: uploading photos problems

Post by Tata » Sat Nov 23, 2013 7:23 am

cattydoris wrote:now it uploads but get no picture only an x in a box
Can you see the image (when logged in) under "images"?
1. login and under configuration look what is the configured as images directory.
2. The "x" mark means a wrong path to the image. Try to view the source code of the page and look for the name of the picture. There you'll find something like:

Code: Select all

<img src="http://........./images/yourpicture.jpg".......>
If the configured directory and this in source code are the same, the problem muast be somewhere else.
It may also be some tipo in th eimage name (e.g. special characters).
It may also be the img size if set more than the upload limit configured on the host server.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply