Thread Locked This thread is locked - replies are not allowed.


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Pages: 1 - Last Post: 29 Jan 21, 12:42 Last Post By: razzle
razzle

Posts: 14
Registered: 1-Nov-2007
Neptune Thumbnail Sizing
Posted: 27 Jan 21, 23:50
 
Hi Jeff,

Just wondering if there is any way to change/increase the size of the thumbnail images on the index page without increasing the thumbnail sizes throughout the rest of the album. I would like to make the 2 thumbnail images bigger on the album front page - see link below.

http://razzle.jalbum.net/Grandfathers/index.html

Thanks,

Bob
JeffTucker

Posts: 8,490
Registered: 31-Jan-2006
Re: Neptune Thumbnail Sizing
Posted: 28 Jan 21, 00:30   in response to: razzle in response to: razzle
 
That's a very dodgy thing to try to do, because the layout sizes are "baked in" to the JustifiedGallery script and the album-wide CSS. But I can fully appreciate why you want to do that here.

I've tinkered with it a bit, and for this one, limited application, you can get there with some custom code trickery. Head for Neptune > Code > HTML, and for the top box, check Top level only. Then enter this:
<style>
#ne-fthumbs {transform: scale(1.5); transform-origin: top;}
.ne-credits {margin-top: 125px;}
</style>
You can experiment with the scale value, but you'll then have to meddle with the margin-top on the credits line. In short, the credits line doesn't know what's happening with the enlarged folder thumbnails, so you have to force it down the page with some fixed value.

I make no promises about what this will do on a small display, like a phone. You're on your own on that score. ;)
razzle

Posts: 14
Registered: 1-Nov-2007
Re: Neptune Thumbnail Sizing
Posted: 28 Jan 21, 01:33   in response to: JeffTucker in response to: JeffTucker
 
Thanks very much Jeff. That seems to have solved my problem. I have tested it on my Galaxy S8 and iPad and it seems to work fine.

Thanks again for your support and quick response.

Cheers,

Bob
RobM

Posts: 4,045
Registered: 4-Aug-2006
Re: Neptune Thumbnail Sizing
Posted: 28 Jan 21, 15:19   in response to: razzle in response to: razzle
 
On your Grandfathers page I’m seeing a horizontal scrollbar in both landscape and portrait mode.

Edited by: RobM on 28-Jan-2021 14:19
iPad Pro 10 inch
razzle

Posts: 14
Registered: 1-Nov-2007
Re: Neptune Thumbnail Sizing
Posted: 29 Jan 21, 12:42   in response to: RobM in response to: RobM
 
Attachment IMG_1088.jpg (151.1 KB)
Thanks for replying Rob. On closer inspection there are scroll bars on the first page on both my iPad and phone. (see attached screenshot from my iPad). Doesn't seem to impact once you get past the index page so not too worried about it.

Thanks for your interest.

Cheers,

Bob
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums