PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |
Old January 21st, 2008, 06:06 PM   #1 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2007
Posts: 8
vBGallery 2.4.2 not displaying resized or original image

hi
i have some problem with vbGallery 2.4.2
when i upload an image, it generates a thumbnail, but doesn't display the resized image (not thumbnail...) + image is not uploaded in gallery/files folder
when i edit image and replace it again, the image is displayed....
could you please help me get this fixed?
thanks in advance

apache 2.2.6
php 5.2.5
GD 2
Attached Images
File Type: jpg screenshot.jpg (21.9 KB, 24 views)
Rouzbeh is offline   Reply With Quote
Old January 21st, 2008, 08:47 PM   #2 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
- perhaps improper path to watermark image
- I have also seen this if the incorrect image processing program GD, GD2, Image Magik in the AdminCP => vBGallery options.
Zachariah is offline   Reply With Quote
Old January 23rd, 2008, 06:08 PM   #3 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2007
Posts: 8
- watermark image path is correct
- path to image processing program for ImageMagick is also correct : /usr/bin/convert
what else could cause this error?
to be clear i explain it again:
i browse for an image to upload, give it a title, and desc.... and submit it
the it shows me what i attached in this thread. (only thumbnail is displayed)
Rouzbeh is offline   Reply With Quote
Old January 29th, 2008, 01:25 PM   #4 (permalink)
Member
Verified Customer
 
Join Date: Nov 2005
Location: Southern Germany
Posts: 213
I have the same issue, fresh upgraded from vers. 2.4 the image is in the gallery/files folder as 1-008.jpg but on the showimage.php it's trying to get the file 1_008.jpg, please help zach.
Ramses is offline   Reply With Quote
Old January 29th, 2008, 02:53 PM   #5 (permalink)
Registered User
 
Zachariah's Avatar
 
Join Date: Nov 2005
Location: Canoga Park, CA
Posts: 3,244
Send a message via ICQ to Zachariah Send a message via AIM to Zachariah Send a message via MSN to Zachariah Send a message via Skype™ to Zachariah
Ramses,
http://www.photopost.com/forum/showt...67#post1215467

Take a look @ this. Same type of problem and there was a setting in php.ini

Let me know
Zachariah is offline   Reply With Quote
Old January 29th, 2008, 04:04 PM   #6 (permalink)
Junior Member
Verified Customer
 
Join Date: Mar 2006
Posts: 7
I have the same issue of Ramses, upgraded from vers. 2.4, old images working perfectly, but new images have problem.
I don't change "Change File Storage Method" because my gallery is not empty.
Can I solve it?
Kfrancesco is offline   Reply With Quote
Old January 30th, 2008, 01:14 PM   #7 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2007
Posts: 8
will someone take care of my issue??????
i don't even get the file in files folder!!!
Rouzbeh is offline   Reply With Quote
Old February 4th, 2008, 11:41 AM   #8 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Well there seem to be several issues if you are using gallery in safe mode..

1. is a very old bug (resized image disapears if you upload an image with same filename -- )
2. the userid is added with underscore..

zach posted a fix in another thread for 1.
I fixed 2 for my installation..

open forum/includes/functions_gallery_imageedit.php

find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
then find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
hope that helps

Luc

Last edited by Luciano; February 10th, 2008 at 12:00 AM.
Luciano is offline   Reply With Quote
Old February 9th, 2008, 06:15 PM   #9 (permalink)
Junior Member
Verified Customer
 
Join Date: May 2007
Posts: 8
thank you very much Luciano.
it worked
Rouzbeh is offline   Reply With Quote
Old February 9th, 2008, 11:58 PM   #10 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
Happy to hear..
But try NOT to use safemode if your server allows it.

Luc
Luciano is offline   Reply With Quote
Old February 10th, 2008, 09:47 AM   #11 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 11
Send a message via MSN to 993ti
What if you move from a server with safemode to a server without safemode?
I have lots of pictures, will those be lost if i switch settings?
993ti is offline   Reply With Quote
Old February 10th, 2008, 12:04 PM   #12 (permalink)
Registered User
 
Join Date: Aug 2005
Posts: 1,229
2 things...
1. you must know what safe mode does...
actually some providers use safemode for security issues.. if on your server php is in safemode then: php cannot create directories or execute shell commands.. it is a php.ini setting.

if you are not sure how secure your php script is.. then safemode is better because there are less chances to get hacked...

ATTENTION: safe mode does NOT exist anymore as of php > 6.0

to check if your server is in safemode.. create a php file and call it safe.php

the content of the file should be:
Code:
Content visible to verified customers only.
upload to your server.. and run safe.php
it should print out the result..

2. in gallery the safemode bypass switch actually does only 1 thing..
it stores ALL your image files in 1 directory only that has been created by you.. so php does not need to create directories by itself..

------------
so IF your server is NOT running in safemode.. you can use both gallery settings.. though it is better not to use the safemode setting.. but both settings should work.. (safemode setting limits the amount of images to ~ 7-8000 images and server gets slower the more images you have)

IF your server is running in safemode, then ONLY the safemode bypass setting will work.. (Otherwise you will get errors when trying to upload images)

-----------------------------
I tested changing settings with about 400 pics.. it worked.. i did not loose any picture.. (I changed in both ways) But attention, like everytghing there can always be an error somewhere.. (especially if you have replaced images.. there was a bug with replace images in safemode.. so there allways can be a problem)
-----------------------------
What I suggest proceed the following way:

1. move to the new server.. once you are there make sure everything is working.. ALL images should be exactly like on old server.. in the file directory.

2. backup the file directory with ftp to your harddisk

3. backup the images table with phpmyadmin (table ppgal_images)

4. go to ACP and switch the safemode bypass in gallery section.. it should start working and move images into subdirectories..

this can take a while.. (400 images ~ 5 to 6 minutes)

Once its finished.. all images should be in subdirectories named by the userid of the owner of the image..

if there was a problem.. you can allways restore the ppgal images table and copy the images back to the directory.. so no harm is done..

hope that helps

Luc
PS: if YOU are the ONLY ONE uploading to the gallery.. then there is no difference between both settings.. because in safemode mode.. all images are in 1 directory (files/*.*) and in not safemode all images will be in your directory.. (files/1/*.*)

Last edited by Luciano; February 10th, 2008 at 12:35 PM.
Luciano is offline   Reply With Quote
Old February 10th, 2008, 04:14 PM   #13 (permalink)
Junior Member
Verified Customer
 
Join Date: Feb 2006
Posts: 11
Send a message via MSN to 993ti
Thx a bunch Luciano.
Changed the setting on the server and did some backups.
Everything went fine with 7,632 images
993ti is offline   Reply With Quote
Old February 12th, 2008, 03:17 PM   #14 (permalink)
Member
 
Join Date: Nov 2005
Location: San Diego, CA
Posts: 34
Quote:
Originally Posted by Luciano View Post
Well there seem to be several issues if you are using gallery in safe mode..

1. is a very old bug (resized image disapears if you upload an image with same filename -- )
2. the userid is added with underscore..

zach posted a fix in another thread for 1.
I fixed 2 for my installation..

open forum/includes/functions_gallery_imageedit.php

find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
then find:
Code:
Content visible to verified customers only.
replace with:
Code:
Content visible to verified customers only.
hope that helps

Luc
tried that, didnt seem to help
bugzy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error creating resized original! nul7 Classifieds Bug Reports 3 October 2nd, 2007 10:05 AM
Error creating resized original! Error code: 127 ReignForever.com Classifieds How do I...? 4 December 18th, 2006 07:34 PM
Error creating resized original! Error code: 127 ?? shawnlovebaobao Classifieds How do I...? 1 March 17th, 2006 06:49 PM
EXIF not displaying and resized images rbl Installs and Upgrade - vBulletin 3.0.X 7 December 19th, 2004 11:19 AM
Error creating resized original! mindstool ReviewPost Bug Reports 2 September 14th, 2004 04:59 PM


All times are GMT -5. The time now is 12:07 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0