As with most users, I'm using headers and footers for gallery to incorporate it in my site. it works without a hitch in album view and even slideshow, but in viewing the photo, somehow the image is not centered and becomes left aligned. at first i thought it was because of my crappy template (i have poor design skills and i admit the html is very bad), but after experimenting, i found out that as long as i have a photo.header file present on the html_wrap folder (even if the file is blank), the image becomes left aligned.
i looked around the sample galleries and everybody's images are centered when viewing them.
any help would be greatly appreciated. thanks!
ps: <!-- BBCode Start --><A HREF="http://www.ruffy.org/gallery/" TARGET="_blank">Gallery sample</A><!-- BBCode End --> on my site where the problem occurs
Posts: 7994
That's because photo.header.default centers the image. Copy photo.header.default to photo.header and you'll see your image being center aligned again (provided that you haven't done something weird in photo.footer -- copy that from the .default also just to be clean). Then slowly make changes to photo.header/footer until your satisfied.
Posts: 4
thanks for the quick response, bharat! works perfectly now thanks to you! :smile: