Difference between revisions of "Gallery"

From Sega Retro

(Created page with "I can't figure out why the second pdf thumb won't display. It works if I just use "120px" for the width, but not if I use "120x120px" or generate "120px" using :template:d2w...")
 
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
I can't figure out why the second pdf thumb won't display. It works if I just use "120px" for the width, but not if I use "120x120px" or generate "120px" using [[:template:d2w|d2w]]. I really thought d2w would work. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 08:04, 21 June 2016 (CDT)
 
I can't figure out why the second pdf thumb won't display. It works if I just use "120px" for the width, but not if I use "120x120px" or generate "120px" using [[:template:d2w|d2w]]. I really thought d2w would work. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 08:04, 21 June 2016 (CDT)
 +
:What am I meant to be seeing - I see a Sonic 1 title screen and then two PDF thumbnails
 +
 +
:curiously
 +
 +
:{{gallery
 +
|sonic1_title.png¦caption
 +
|Mega UK 01.pdf¦page#10-20¦caption2
 +
}}
 +
 +
:right now only the first three PDF thumbnails are showing. I'll check up on this in a few hours - it could just take a while to render.
 +
 +
:-[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 09:33, 21 June 2016 (CDT)
 +
 +
:Yeah - Ctrl+F5, now thumbnails 1, 2, 3, 5 and 6 are showing. It's just slooooow. -[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 09:36, 21 June 2016 (CDT)
 +
 +
Seems to work pretty well, and looks just like a real gallery now. The only minor issue is that captions on multipage thumbs are always the same width, which makes them look a bit squashed. Apart from that are there any improvements to be made? - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 15:58, 24 June 2016 (CDT)
 +
: Testing thumbnail generation. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 18:25, 3 July 2016 (CDT)
 +
 +
auto: [[file:Mega UK 01.pdf|page=10-20|120x120px]]
 +
 +
manual: [[file:Mega UK 01.pdf|page=10|120x120px]][[file:Mega UK 01.pdf|page=11|120x120px]][[file:Mega UK 01.pdf|page=12|120x120px]][[file:Mega UK 01.pdf|page=13|120x120px]][[file:Mega UK 01.pdf|page=14|120x120px]][[file:Mega UK 01.pdf|page=15|120x120px]][[file:Mega UK 01.pdf|page=16|120x120px]][[file:Mega UK 01.pdf|page=17|120x120px]][[file:Mega UK 01.pdf|page=18|120x120px]][[file:Mega UK 01.pdf|page=19|120x120px]][[file:Mega UK 01.pdf|page=20|120x120px]]
 +
 +
== gaps ==
 +
 +
todo: turn this
 +
 +
[[File:SuperGamePower BR 007.pdf|page=27-35|100px]]
 +
 +
into this
 +
 +
[[File:SuperGamePower BR 007.pdf|page=27|100px]][[File:SuperGamePower BR 007.pdf|page=29|100px]][[File:SuperGamePower BR 007.pdf|page=31|100px]][[File:SuperGamePower BR 007.pdf|page=33|100px]][[File:SuperGamePower BR 007.pdf|page=35|100px]]
 +
 +
<pre>
 +
page=27,29,31,33,35
 +
</pre>
 +
 +
should be simple... but might not be "clean". Hmm.
 +
 +
-[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 15:56, 15 July 2016 (CDT)
 +
: I think can do that without too much trouble. Should also be possible to have "page=27-29,31,33-35" or similar. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 16:34, 15 July 2016 (CDT)
 +
::That stretching problem has re-emerged:
 +
 +
{{gallery
 +
|{{galleryPrintAd
 +
|Joystick FR 027.pdf|joystick|27|177,179,181,183
 +
}}
 +
 +
|{{galleryPrintAd
 +
|SuperGamePower BR 007.pdf|sgp|7|27,29,31,33,35
 +
}}
 +
}}
 +
-[[User:Black Squirrel|Black Squirrel]] ([[User talk:Black Squirrel|talk]]) 05:02, 16 July 2016 (CDT)
 +
: Forgot to add a check for commas. It's fixed now. - [[User:Hivebrain|Hivebrain]] ([[User talk:Hivebrain|talk]]) 06:31, 16 July 2016 (CDT)

Latest revision as of 06:31, 16 July 2016

I can't figure out why the second pdf thumb won't display. It works if I just use "120px" for the width, but not if I use "120x120px" or generate "120px" using d2w. I really thought d2w would work. - Hivebrain (talk) 08:04, 21 June 2016 (CDT)

What am I meant to be seeing - I see a Sonic 1 title screen and then two PDF thumbnails
curiously
sonic1_title.png¦captionMega UK 01.pdf¦page#10-20¦caption2
right now only the first three PDF thumbnails are showing. I'll check up on this in a few hours - it could just take a while to render.
-Black Squirrel (talk) 09:33, 21 June 2016 (CDT)
Yeah - Ctrl+F5, now thumbnails 1, 2, 3, 5 and 6 are showing. It's just slooooow. -Black Squirrel (talk) 09:36, 21 June 2016 (CDT)

Seems to work pretty well, and looks just like a real gallery now. The only minor issue is that captions on multipage thumbs are always the same width, which makes them look a bit squashed. Apart from that are there any improvements to be made? - Hivebrain (talk) 15:58, 24 June 2016 (CDT)

Testing thumbnail generation. - Hivebrain (talk) 18:25, 3 July 2016 (CDT)

auto: File:Mega UK 01.pdf

manual: File:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdfFile:Mega UK 01.pdf

gaps

todo: turn this

File:SuperGamePower BR 007.pdf

into this

File:SuperGamePower BR 007.pdfFile:SuperGamePower BR 007.pdfFile:SuperGamePower BR 007.pdfFile:SuperGamePower BR 007.pdfFile:SuperGamePower BR 007.pdf

page=27,29,31,33,35

should be simple... but might not be "clean". Hmm.

-Black Squirrel (talk) 15:56, 15 July 2016 (CDT)

I think can do that without too much trouble. Should also be possible to have "page=27-29,31,33-35" or similar. - Hivebrain (talk) 16:34, 15 July 2016 (CDT)
That stretching problem has re-emerged:

Logo-pdf.svg

Print advert in Joystick (FR) #27: "Mai 1992" (1992-0x-xx)
Logo-pdf.svg
Logo-pdf.svg
Print advert in SuperGamePower (BR) #7: "Outubro 1994" (1994-xx-xx)
Logo-pdf.svg

-Black Squirrel (talk) 05:02, 16 July 2016 (CDT)

Forgot to add a check for commas. It's fixed now. - Hivebrain (talk) 06:31, 16 July 2016 (CDT)