Page 1 of 1

Uploading pictures

Posted: Wed 27. Oct 2004, 18:33
by richk
I am confused about uploading pictures. I have about 30 images I need to upload to use on my web site. I created a directory in the filecenter called mypictures. How do I use the ftp takeover function to upload these? When I try to use my ftp program by itself to upload them I can't find the directory called mypictures???

Is there a specific directory I should upload them to using my ftp program so that I can find them when writing articles? If so, can somebody tell me what the name of this directory should be, and where to place it? Do I need to make some kind of change to my phpwcms setup in order for ftptakeover to work? When I try to use ftptakeover I get this message ... there is still no file available – you have to upload one via ftp. OK, so where do I upload them to using ftp?


Help please

Rich

Posted: Wed 27. Oct 2004, 18:53
by spirelli
you have to upload to the phpwcms_ftp directory.
then you'll see them in 'ftp takeover' in the FILE section.

Posted: Wed 27. Oct 2004, 19:29
by richk
OK, but more problems!!!!
I uploaded the to the folder you suggested and the ftptakeover worked.

Now, when I try to use them, or just try to view them even just in the filecenter, all I see is a box with a red X in it! If I click this red x a seperate window opens and the picture show just fine, but that is the only time you can see it. When I try to insert a picture in an article all I see is the red box!

What have I done wrong? These are all gifs or jpegs.

Posted: Wed 27. Oct 2004, 19:52
by ionrock
That sounds like the image resizing didn't work. Double check that you have your configuration correct with either imagick or gd and that your server supports it.

Posted: Wed 27. Oct 2004, 21:11
by richk
Well when I try to insert an image into an article this is what I get
Warning: imagejpeg(): Unable to open '/home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/content/images/1_5_HWH9L5rnQy-500x.jpgjpg' for writing in /home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/include/inc_ext/hft_image/hft_image.php on line 346

--------------------------------------------------------------------------------
Unable to output: /home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/content/images/1_5_HWH9L5rnQy-500x.jpgjpg
file=/home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/include/inc_ext/hft_image/hft_image.php
--------------------------------------------------------------------------------

Warning: getimagesize(): Unable to access /home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/content/images/1_5_HWH9L5rnQy-500x.jpgjpg in /home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/include/inc_ext/hft_image/hft_image.php on line 306

Warning: getimagesize(/home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/content/images/1_5_HWH9L5rnQy-500x.jpgjpg): failed to open stream: No such file or directory in /home/httpd/vhosts/amsalescentral.com/httpdocs/phpwcms/include/inc_ext/hft_image/hft_image.php on line 306
article content — images

I don't have a clue what this means. Can someone help me?

Rich

Posted: Wed 27. Oct 2004, 21:17
by Pappnase
hello

please check your permissions again!

http://docu.fhss.de/installation_en.phtml

Posted: Wed 27. Oct 2004, 23:22
by richk
My permissions are all set correctly.

Is it possible that my images are not being uploaded to or stored in the correct directory?

This is very frustrating!

Posted: Wed 27. Oct 2004, 23:30
by Pappnase
ups i think there si another problem!

look your images extensions 1_5_HWH9L5rnQy-500x.jpgjpg

hello

please take a look at this thread

http://www.phpwcms.de/forum/viewtopic.p ... g&start=15

Posted: Wed 27. Oct 2004, 23:46
by richk
I looked at the thread you suggested, and I see the similarity to my problem, but I still don't know how to fix it!

I did not upload anything with .jpgjpg???? I don't understand why it says this? And I still don't know what directory to upload my images to?

I assure you that the permissions for my content/images folder are set to 777. Is this where I am supposed to upload my images?

Thanks
Rich