tommangatt
Member
Posted 3 years ago #
hi
please have a look at the following page:
http://books.indulekha.com/2009/03/01/mazhakkalam/
i want to show there 3 pages of a book with the size 425 x 625 in image browser. unfortunately, the image browser shows the pages in a bigger size using all the available space in the matter area. this leads to pixellation of the book pages.
my question is: can i show the book pages in their actual size (ie., 425 x 625) in the image browser?
please help.
thanks
tom
You can customize the nggallery.css file. Copy nggallery.css from plugins/nextgen-gallery/css/ to your theme folder /themes/Hamasaki/. Then open it in a text editor. For those images you'll need to change the CSS starting from line 214 to something like this:
.ngg-imagebrowser img {
border:1px solid #A9A9A9;
margin: 10px auto;
display:block !important;
padding:5px;
}
The problem you have is with the width: 100%; line so be sure to take that out.
You could also make custom CSS files in the plugins/nextgen-gallery/css/ folder but those get deleted when you use the WordPress automatic upgrade so it's safer to put one in your theme folder.
tommangatt
Member
Posted 3 years ago #
wow! it works perfectly.
thanks monodistortion.
diablo829
Member
Posted 3 years ago #
Question on this monodistortion. I edited my code to do the same thing and it works great, so thanks. I like the ability to have users comment and share my photos on social networks.
However after clicking on an image within a gallery, there is no way to go back to the thumbnails to see the whole gallery. I can only nav forward and backward. How would I enter a code on each individual image page so users can go back to the relevant gallery? Would prefer to have a "breadcrumb" naviation so users can go back to gallery or album from any image.
Can you start a new thread since this is a different topic?
Also, please post a link to your site so we can see what you're doing better.