Broken images but no errors reported

mnewing

Joined: 2007-10-09
Posts: 1
Posted: Tue, 2007-10-09 21:59

I can upload images to albums and it works without reporting issues but when i go to look at the album and all the images are broken.

I have installed the product (version 1.5) and i am sure that the albums directory is correct as when i set it wrong it gives me error messages. I have checked the permissions, on both the gallery and the albums directory and they are 777.

I am using PHP as supplied so my hosting company so i am not sure of the exact version. I have installed and used gallery 1.5 before on another website with the same hosting service so i know it works.

Here is what is in my configuration file:

/* Version */
$gallery->app->config_version = '96';

/* Features */
$gallery->app->feature["zip"] = 1;
$gallery->app->feature["rewrite"] = 1;
$gallery->app->feature["mirror"] = 0; // (missing mirrorSites -- it's optional)

/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->useIcons = "both";
$gallery->app->skinname = "bblue";
$gallery->app->uploadMode = "form";
$gallery->app->albumDir = "/homepages/9/d220054573/htdocs/gallery/albums";
$gallery->app->tmpDir = "/homepages/9/d220054573/htdocs/tmp";
$gallery->app->photoAlbumURL = "http://trowlockisland.co.uk/gallery";
$gallery->app->albumDirURL = "http://trowlockisland.co.uk/albums";
$gallery->app->movieThumbnail = "/homepages/9/d220054573/htdocs/gallery/images/movie.thumb.jpg";

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful):
Gallery version:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Wed, 2007-10-10 09:48

Change the albumDirURL to http://trowlockisland.co.uk/gallery/albums

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
fdsaa

Joined: 2007-11-28
Posts: 3
Posted: Wed, 2007-11-28 22:57

"it's because of the ads, they corrupt the image downloads.

please ask your webhost whether the ads can be disabled or if you can include the ads in your page in a fix position instead of having them added to all generated pages.

the problem is that g2 serves images through a php wrapper. so your webhost's ads code might not be good enough to detect when gallery is sending a html page and when it is sending an image file."

Basically, if you're using GoDaddy, you need to purchase hosting to get rid of the ads. I tried it with the free hosting and it didn't work. I bought 2 months worth of hosting, and the Gallery2 pics display fine.