Images are not displayed

Ceeadmin

Joined: 2008-04-16
Posts: 2
Posted: Wed, 2008-04-16 08:18

Hi,

I have uploaded pictures using webpublishing but the images are not being displayed in the Gallery. I can see all the properties of the pictures but no image can be seen. If i try to print them, I see the images. Please help, I want the images to be displayed.

Cheers

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Wed, 2008-04-16 10:26

FAQ: What information is required when I ask for help in the forums?
URL?
Graphics toolkit enabled and tested? Toolkit priority?
PHP info link.
Image sizes?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
Ceeadmin

Joined: 2008-04-16
Posts: 2
Posted: Wed, 2008-04-16 11:27

URL: http://www.theheiress.biz/fotos/main.php

http://www.theheiress.biz/fotos/main.php?g2_view=cart.ViewCart&g2_navId=x41b95617

Could you please assist with Graphics Toolkit.

Size: 640x426

Regards,
Cynthia

 
digitalcomunic

Joined: 2008-04-16
Posts: 2
Posted: Wed, 2008-04-16 13:07

Hello, i´m having the same problem.

I installed this gallery yesterday, I think there is a problem with this version because I had installed the gallery 60days ago and all images are show.

I don´t know what can be but I try to install again and the same problem occurs:

The gallery problem, V2.2.4: www.romaqmaquinas.com.br/galeria

Here, the gallery instaled 60 days ago, V 2.2: www.geracaonova.com.br/galeria

If somebody can help I´ll appreciatte, thanks all.

I am using PHP5 and all toolkit images are ok.

Roger

 
digitalcomunic

Joined: 2008-04-16
Posts: 2
Posted: Wed, 2008-04-16 14:12

Hello.

I got the corrected now.
Simply I copy the .htaccess from the domain what was working to the domains where is the problem.

Tha htaccess off the problem domais was it:

Quote:
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /galeria/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . - [L]
RewriteCond %{QUERY_STRING} view=core.DownloadItem
RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9\+\.\-]+://romaqmaquinas.com.br/ [NC]
RewriteCond %{HTTP:Referer} !^$
RewriteRule . /galeria/main.php [F,L]
RewriteCond %{QUERY_STRING} g2_view=core.DownloadItem
RewriteCond %{QUERY_STRING} g2_itemId=([0-9]+)
RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9\+\.\-]+://romaqmaquinas.com.br/ [NC]
RewriteCond %{HTTP:Referer} !^$
RewriteRule . /galeria/main.php?g2_view=rewrite.DownloadItem&g2_itemId=%1 [L]
RewriteCond %{QUERY_STRING} g2_view=core.DownloadItem
RewriteCond %{QUERY_STRING} g2_itemId=([0-9]+)
RewriteCond %{HTTP:Referer} !^[a-zA-Z0-9\+\.\-]+://romaqmaquinas.com.br/ [NC]
RewriteCond %{HTTP:Referer} !^$
RewriteRule . /galeria/main.php?g2_view=watermark.DownloadItem&g2_itemId=%1 [L]
RewriteCond %{THE_REQUEST} /galeria/sitemap(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=sitemap.Sitemap [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/updates(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=dynamicalbum.UpdatesAlbum [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/popular(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=dynamicalbum.PopularAlbum [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/admin/(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=core.SiteAdmin [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/random(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=dynamicalbum.RandomAlbum [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/v/([^?]+)/slideshowapplet\.html(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=slideshowapplet.SlideshowApplet&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/v/([^?]+)/slideshow\.html(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=slideshow.Slideshow&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/c/view/([0-9]+)\.html(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=comment.ShowAllComments&g2_itemId=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/c/add/([0-9]+)\.html(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=comment.AddComment&g2_itemId=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/v/([^?]+)\.davmount(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=webdav.DownloadDavMount&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/rating/([^?/]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=rating.RatingAlbum&g2_limit=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/rss/([^\/\?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=rss.Render&g2_name=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/srss/([0-9]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=rss.SimpleRender&g2_itemId=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/key/([^?/]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=keyalbum.KeywordAlbum&g2_keyword=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/w(/[^?]*)?(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_controller=webdav.WebDav&g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/f/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_controller=permalinks.Redirect&g2_filename=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_path=%1 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=rewrite.FileNotFound [QSA,L]
</IfModule>
# END Url Rewrite section
ß

And the .htaccess working on the domain with the no-problems gallery is it:

Quote:
# BEGIN Url Rewrite section
# (Automatically generated. Do not edit this section)
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /galeria/
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d [OR]
RewriteCond %{REQUEST_FILENAME} gallery\_remote2\.php
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . - [L]

RewriteCond %{THE_REQUEST} /galeria/admin/(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=core.SiteAdmin [QSA,L]

RewriteCond %{THE_REQUEST} /galeria/d/([0-9]+)-([0-9]+)/([^/?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_view=core.DownloadItem&g2_itemId=%1&g2_serialNumber=%2&g2_fileName=%3 [QSA,L]
RewriteCond %{THE_REQUEST} /galeria/v/([^?]+)(\?.|\ .)
RewriteCond %{REQUEST_URI} !/galeria/main\.php$
RewriteRule . /galeria/main.php?g2_path=%1 [QSA,L]
</IfModule>

# END Url Rewrite section

I don´t know why in the instalation, the .htaccess was too big with many parameters. I used fantastico to install the both gallerys, I only can think there is a problem to install version 2.2.4 by the fantastico.

OBS: I use PhpSuexec and ModRewrite on in my server.

Thanks all.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Wed, 2008-04-16 13:23

Ceeadmin,
I don't see any issue with your gallery. The 2nd link is for the cart. You have to add items to the cart to see items in the cart.
@toolkit: http://codex.gallery2.org/Installing_an_Image_Processing_Library

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
kekawaka

Joined: 2008-04-16
Posts: 1
Posted: Wed, 2008-04-16 15:02

I'm experiencing the same problem - also with a new Fantastico install. Each photo in the gallery displays as a file name only. see: http://www.wholecirclefarm.ca/pix/

Like the earlier poster, I also did a test install on the same host a few weeks ago, and it works fine.

see: http://wholecirclefarm.rockwren.us/pix/

 
dwave23

Joined: 2008-04-16
Posts: 2
Posted: Wed, 2008-04-16 18:27

I am experiencing this problem as well. I just installed Gallery 2 with Fantastico . I only see the file name and not the photo.

http://www.davidjstrong.com/photogallery/

I have tried re-ordering the following toolkits:

NetPBM

ImageMagick

Gd

The size is set to 640 X 512

Any assistance would be appreciated.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 23886
Posted: Wed, 2008-04-16 20:46

kekawaka & dwave23 http://wholecirclefarm.ca/pix/main.php and http://davidjstrong.com/photogallery/ works fine ( no www ) so disable and uninstall the url rewite module. Test to see if image come back and then reinstall the module and activate. Note hotlink protection. Verify that .htaccess file is removed after uninstalling the module.

It is a fantastico issue and they are addressing it in the next version as far as I know.
http://gallery.menalto.com/node/76215#comment-271360

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
dwave23

Joined: 2008-04-16
Posts: 2
Posted: Wed, 2008-04-16 21:18

floridave,

Thanks for the help. I will give that a try.