ZenphotoCMS Forum
No thumbs or Pictures - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: No thumbs or Pictures (/thread-453.html)

Pages: 1 2


No thumbs or Pictures - mgalarneau - 2006-04-20

Hello everything was fine with my setup until I upgraded to 1.02b....

After upgrading , no thumbnails or images would show. I tried uploading new pics and then check to see on the web site and they weren't showing either but they were uploaded on the server correctly. I deleted everything, did a complete reinstall and still the same issue, setup went fine , connection to the DB is fine , I can upload , or edit albums , but not 1 single image is showing as a thumb or regular photo ?? Please help me

here is my php info regarding GD in case you need it :

GD

GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

here is my web site if you want to take a look

http://www.mattgalarneau.com/zenphoto




No thumbs or Pictures - trisweb - 2006-04-20

You're running IIS aren't you? I know this bug...

Change line 98 [b]of i.php[/b] from:
$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
to:
$protocol = 'http';

(Even if you aren't on IIS, but please tell me your setup in any case so I can diagnose it better and fix this bug...)




No thumbs or Pictures - mgalarneau - 2006-04-20

yes i'm on IIS , t line of which file Tris ?

Thanks for the quick response




No thumbs or Pictures - mgalarneau - 2006-04-20

ok found it
i.php

line 97




No thumbs or Pictures - mgalarneau - 2006-04-20

and it is working !!!

Thank you Tris!




No thumbs or Pictures - trisweb - 2006-04-20

Sorry about that, glad you found it I updated my instruction for others.




No thumbs or Pictures - kuhnfoto - 2006-04-28

Tris, I am experiencing the same issue, no thumbs, no picts, tried altering line 98 as in this thread, but no joy.

Ideas?

Pete
www.kuhnfoto.com




No thumbs or Pictures - trisweb - 2006-04-28

Pete, I found your gallery and it seems to be working. Want to tell us how you fixed it so others can see if they have the same problem? Thanks!




No thumbs or Pictures - abbey - 2006-06-14

Guys looks like I have a similar problem. I have searched the forum all nite without any sucess. the installations was ok but the pictures and thumbs do not display. the link is http://www.zongoonline.com/gallery.

i need help here. thanks




No thumbs or Pictures - DarrellD - 2006-06-14

Are you sure that you changed your .htaccess file to reflect the directory where your gallery is?

You need to change it from
RewriteBase /zp
to
RewriteBase /gallery




No thumbs or Pictures - abbey - 2006-06-14

yes i have done that already.

!!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!


RewriteBase /gallery




No thumbs or Pictures - relee - 2006-06-14

how do i edit the .htaccess file on my Mac?




No thumbs or Pictures - relee - 2006-06-14

I feel a bit in over my head. I have edited the .htaccess file. however I am still unable to view thumbnails or albums. Please advise!




No thumbs or Pictures - relee - 2006-06-14

I have the Rewrite Engine=On
changed zp to zenphoto
cache & albums =777

ANy other suggestions?




No thumbs or Pictures - relee - 2006-06-14

While viewing i.php I do not see:
Change line 98 of i.php from:
$protocol = $_SERVER['HTTPS'] ? 'https' : 'http';
to:
$protocol = 'http';

(Even if you aren't on IIS, but please tell me your setup in any case so I can diagnose it better and fix this bug...)

I am not sure if i am on IIS or not...thanks for your help.




No thumbs or Pictures - abbey - 2006-06-14

Hi guys, i am still waiting for help. the pictures and thumbs do not display. the link is http://www.zongoonline.com/gallery.

when i click on the thumbnail the picture does not show rather it shows the link http://www.zongoonline.com/gallery/bright/bright_21.jpg and when u click on the link the picture shows. i checked the path for that and it was http://www.zongoonline.com/gallery/albums/bright/bright_21.jpg

i noticed that this had a folder called album

i have changed the htaccess file but still it does not work.

!!! Change this to the web path (eg: http://www.example.com/photos --> /photos) !!!


RewriteBase /gallery
i need help here. thanks




No thumbs or Pictures - relee - 2006-06-15

Because I am using a Windows-based Server I cannot change permissions in an ftp program. I have to go to my site control center interface and assign permissions to the folders there. I still cannot see my thumbnails but at least the folders albums and cache have the correct permisssions.




No thumbs or Pictures - DarrellD - 2006-06-16

@abbey
Not sure what you mean when you say:

Quote:i noticed that this had a folder called album
However, what I would suggest is try reinstalling ZenPhoto. Delete all your files (including the .htaccess) and then try to reinstall it. I was looking at your paths and all, and I can't figure out what's going on. It seems like something is going on (if you look at the HTML source you can see that it's trying to access a different path), but I can't figure it out exactly because I don't have access to your site.

@relee
That line 98 thing in i.php is no longer relevent as of ZenPhoto 1.0.3. I'm not too sure why yours isn't working. Do you have a url where I can see it?




No thumbs or Pictures - DarrellD - 2006-06-16

@abbey
[b]WAIT![/b]
Somehow I've been able to recreate this problem. Let me see if I can figure this out.




No thumbs or Pictures - DarrellD - 2006-06-16

[b]I figured it out!!!![/b]
I had uninstalled WAMP then reinstalled it (because of some other thing that was going on). When it was reinstalled, I had the same error that you guys have.

Now I know what the problem is. You don't have GD installed or enabled.

The WIKI states:

Quote:GD 2.0 or later (built in to PHP since version 4.3 or so, but you might need to recompile PHP or contact your host if it's not working).
GD is the graphics library that ZenPhoto is based on. Normally, it should come already compiled in with your PHP executable, but as I found out, it's not always the fact.

Here's how to enable GD2 in PHP:

  1. If you have access to your php.ini file...
    • Open it up in your favorite text editor and look for the following line (near the middle):
    ;extension=php_gd2.dll
    change it to
    extension=php_gd2.dll
    (basically, remove the semi-colon in front)
    • Save the file and upload it back on the server and overwrite the old file.
    • Restart your server
    • That's it!

  2. If you don't have access to your php.ini file, you're most likely being hosted. Ask the system administrator to enable GD2 or to recompile PHP with GD2.