I tried the "Return random image" format but doesn't look good because it doesn't return the image into the center, it returns it more to the left. So how should I make it show the image in the center?
Thank you in advance :)
I tried the "Return random image" format but doesn't look good because it doesn't return the image into the center, it returns it more to the left. So how should I make it show the image in the center?
Thank you in advance :)
hey I inserted that code and now if you look at my site there are weird letters showing up. how can I remove those?
what's your address? where did you insert the code? did you make a duplicate format file like I suggested above?
raulaltosaar.com
I just put that code into the format.random_image.php in Assets
..."You can duplicate the format.random_image.php with your ftp application and work on that file. Rename it to format.random_centered_image.php
Then I edited the plugin to add a css stylesheet to that specific page ($OBJ->page->exhibit['dyn_css'][] = $this->dynamicCSS();) .
The css classes can be found in the function dynamicCSS() in the bottom of the script - you can edit or alter as you wish.
In this case the image will center the random image depending on #exhibit .container div."
- and here is the right code (I'm deleting the previous post): snipplr.com/view/69235/formatrandomcenteredimagephp-for-ndxz-v2/
Thank you! It works now :) Merry christmas!
This thread has been closed, thank you.