Member
Member
crazynet24   2010-07-19, 09:23
#1

I'm looking for a way to increase the slimbox's picture size in the Effervescence+ theme. The default size is 250x250 pix. In the backend in theme-settings, I set the picture-size to 600 pix for the longest side. Also I edited the slimbox.js file in zenphoto-1.3\themes\effervescence_plus\scripts and set the vars initialWidth and initialHeight to 600.
Now, when I open a picture, the slimbox-frame initially apprears with a size of probably 600 pix and then it fits down to a smaller size of probably 250 pix to show me the picture. The result is the same like I've never done any changes.

Can anybody help me, any answer is appreciated.

  • Zenphoto-Version 1.3 [5479] (Official Version)
  • active Gallery-Theme: Effervescence+
  • PHP-Version: 5.2.13
  • Grafic support: PHP GD library bundled (2.0.34 compatible)
  • PHP-Memory restictions: 96M
  • MySQL-Version: 5.0.81
Administrator
Administrator
acrylian   2010-07-19, 10:18
#2

I am not familiar with that theme in detail (my collegue sbillard is), but I guess you also need to change the function call on the theme's image.php as the image display sizes is of course generated. Probably also some CSS involved.

Member
Member
sbillard   2010-07-19, 17:36
#3

Line 217 of album.php is what you need to change. You probably have to change CSS as well, but I have not looked.

Member
Member
crazynet24   2010-07-20, 10:13
#4

Thanks for answering!

Days of searching are gone, but now I've found the line to set the imagesize. It's hardcoded in the file album.php at line 271 (not 217, I guess the to digits are twisted). ->
echo "

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