Member
Member
westwindstudios   2008-06-29, 16:19
#1

Hello,
I am using the Effervescence theme and can't get rid of the zenphoto logo coming up in some galleries in the header random image on top. If I delete the image from the database it just comes back, anyone have this problem and is there a fix,
thanks
west

Member
Member
sbillard   2008-06-29, 16:55
#2

Try refreshing your database (overview page of admin.) This image comes up when the rangom image function does not return an image. This may also occur on an album page when the album contains no images.

You can also delete the following code from customfunctions.php
` if (is_null($randomImage) || checkforPassword(silent)) {

    $randomImage= new Image(new Album(new Gallery(), ''), 'zen-logo.jpg' );

}`

This will leave you with no heading image if the getRandomImage() function does not find one.

Member
Member
westwindstudios   2008-06-29, 17:29
#3

Thank you very much for your quick reply!
I deleted that code and then no header image shows in two albums but does in one.
I can live without the header image but kind of like it
I also have refreshed the database a few times before deleting that code and still shows the zenlogo, also when I remove it from the database table it just comes back.
It's an odd thing, and I will continue to investigate if you have no more ides.

thanks again,
west

Member
Member
sbillard   2008-06-29, 18:23
#4

The image will keep on comming back. It is recreated as needed. You might try the nightly build. The handling of the zenphoto image has been changed so that it will not show up in the database.

What are the characteristics of the two albums where no image shows up?

Member
Member
westwindstudios   2008-06-29, 18:42
#5

thanks sbillard,
the albums are set the same as far as I know, I put this site up for my mother and she just loves it btw!,
I put that code back so the header will show.
I may just redo these albums, or try another theme, I like the custom logo feature of this one though,
west

Member
Member
sbillard   2008-06-29, 19:14
#6

Give the nightly build a try before you give up on the theme.

Member
Member
westwindstudios   2008-06-29, 19:16
#7

Fixed! I didnt notice that these albums were not published yet, yikes, i'll make sure my mom knows this,
thanks for your time and sorry for any trouble sbillard!
west

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.