News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_MacDeath

Magazines upload and galleries...

Started by MacDeath, 23:02, 14 May 12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MacDeath

#25
Ok got a look at those...

should be something like this :

{{#sgallery:
|width=800
|height=1000
|imagelist=Image:TAU_70.jpg
Image:TAU_70Page1.jpg
Image:TAU_70Page2.jpg
Image:TAU_70Page3.jpg
Image:TAU_70Page4.jpg
Image:TAU_70Page6.jpg
Image:TAU_70Page7.jpg
Image:TAU_70Page10.jpg
Image:TAU_70Page11.jpg
Image:TAU_70Page12.jpg
Image:TAU_70Page13.jpg
Image:TAU_70Page15.jpg
Image:TAU_70Page16.jpg
Image:TAU_70Page17.jpg
Image:TAU_70Page18.jpg
Image:TAU_70Page19.jpg
Image:TAU_70Page30.jpg
Image:TAU_70Page32.jpg
Image:TAU_70Page33.jpg
Image:TAU_70Page34.jpg
Image:TAU_70Page35.jpg
}}

with this (of course the dimension were put in hasard just to test, not optimised) you can scroll pages and actually read them...

Gryzor

You're looking at the HTML output. This has to be done in the mediawiki code - that is, in the article itself, like you edit every article. The sgallery tag probably has some options, but I can't check now...

MacDeath

#27
yeah sorry, i edited my past post because i understood by myself i did it wrong...

;D


I went into the said links to see how to use this, and edited the wikipage in order to test various way to do it, of course i didn't saved the result, only used show preview...

From what i tested, this could be great but of course the thing can be quite big on screen (gotta see what dimensions would be best to fit well with the scans).

Perhaps a bit heavy for the system too, not sure.

but this looks like exactly what I suggested. :)

I tried with something like this in order to modify the dimensions but it didn't worked well...
<sgallery width="600" height="500" showarrows="false" showcarousel="false" showinfopane="false" timed="true" delay="4000">
Image1.jpg
Image2.gif
Image3.png </sgallery>


the syntax I posted in my previous post seemed to work betterly, yet not sur you can get more than one sgallery on the same page.

Gryzor

Did it work? I think there are other switched too...

MacDeath

#29
http://www.cpcwiki.eu/index.php/Issue_70_%28_Nov._90_%29

I edited it, so you can see how it is...

seems to work fine, and is completely readable.

not sure if no other issues with other on page stuff though.

QuoteI think there are other switched too...
what is a "switched" ?
what did you meant ?

(again, I'm just french anyway, can't alway understand every meanings... sorry)

Gryzor

Doesn't make any difference on my mobile :D


But I don't see the use for it, if nothing else it appears even less practical now: you still have to click on each image and it opens the regular file page...

MacDeath

#31
QuoteDoesn't make any difference on my mobile
haha got it...

QuoteBut I don't see the use for it, if nothing else it appears even less practical now: you still have to click on each image and it opens the regular file page...
nope.

On my computer, it is diplayed in a 800x1000 window, and you have arrows on both sides of the "sgallery" window so you can change the pages (displayed in this 800x1000 galery) without changing the CPCwiki page... no more need to open each picture's own Wikipage...

Post Edit : added some explainations on this wikipage.
I suppose it was sued for test purpose so it is good...

This is really what i suggested, to me it looks perfect, just hope no drawbacks will appear...

Morn

Yes, this larger version works fairly well. I'm not sure I understand why MacDeath uses "{{#sgallery:" instead of "<sgallery>" though. Slightly weird wiki markup if you ask me.

MacDeath

#33
I tried with the < and > and it didn't worked, but I probably did it wrong, lol.

with those < and > I simply couldn't get the dimension to be changed... perhaps some other parts of the syntax were wrong too.


{ and } version was simply copy-pasted from the page explaining how to use the sgallery...

I then removed some unused features.

but if someone can find a better proper way of syntax, no problem.

Morn

You're right, for some reason the extension ignores parameters like width when using the tag syntax. But the parser function syntax looks so messy. Oh well.  :)

I wonder if it's possible to put all the "{{#sgallery:..." stuff in a template.

Morn

Gryzor, maybe you could edit the Smooth Gallery extension script and set 800x1000 width/height as defaults? Then we could just use "<sgallery>" and wouldn't need to bother with parameters.

      $this->argumentArray = array( "height" => "1000px", "width" => "800px", "carousel" => true, "timed" => false,
                  "delay" => "9000", "showarrows" => true, "showinfopane" => true,
                  "slideinfozoneslide" => true, "slideinfozoneopacity" => "0.7", "fallback" => "gallery",

                  "nolink" => false );

MacDeath

I choosed 800x1000 at random, haven't verified what average resolution are the scans usually posted...

It looked to be enough to actually read the small texts but details can vary from scans to scans I guess.

Border_7

I like what you have done here! http://cpcwiki.eu/index.php/Issue_70_(_Nov._90_)

Certainly much easier reading...

When it's all finalised I'll go through and edit all the ones I've scanned/uploaded and add in your "smarts"....

Good work.
01000001 01101101 01110011 01110100 01110010
01100001 01100100
01000011 01101111 01101101 01110000 01110101
01110100 01101001 01101110 01100111

Gryzor

Quote from: Morn on 15:14, 26 May 12
Gryzor, maybe you could edit the Smooth Gallery extension script and set 800x1000 width/height as defaults? Then we could just use "<sgallery>" and wouldn't need to bother with parameters.

      $this->argumentArray = array( "height" => "1000px", "width" => "800px", "carousel" => true, "timed" => false,
                  "delay" => "9000", "showarrows" => true, "showinfopane" => true,
                  "slideinfozoneslide" => true, "slideinfozoneopacity" => "0.7", "fallback" => "gallery",

                  "nolink" => false );

Will check the code tonight at home, I guess it can be done. I wish there was a 'ribbon' option as you (I think) said in a Talk page...

Morn

Quote from: Gryzor on 09:01, 28 May 12

Will check the code tonight at home, I guess it can be done. I wish there was a 'ribbon' option as you (I think) said in a Talk page...

Yes, ribbon navigation is sorely lacking. But perhaps the script can be hacked later on, maybe even by reusing code from BookReader.

MacDeath

#40
QuoteThis would only be better with a slider at the bottom to quickly move to e.g. page 42 like BookReader has.
you can click on the "pictures" word at the upper-right of the sgallery.

this makes appear a "ribbon" with all pages put in a small version in line... but it disappears when you select a page, perhaps this can be edited too, haven't checked the options for this.

QuoteI like what you have done here
Me ?
I did not do a lot...

Good to see my original suggestion for such a "browser gallery "and that the answer found is satidfying and please some of you, so I guess I was right. :)


this Sgallery is a nice addition, thx to the one who suggested it.

Must be good for magazines, but nort sure it will be that ok with bigger books with like 200+ pages.

Gryzor

Quote from: Border_7 on 04:55, 28 May 12
I like what you have done here! http://cpcwiki.eu/index.php/Issue_70_(_Nov._90_)

Certainly much easier reading...

When it's all finalised I'll go through and edit all the ones I've scanned/uploaded and add in your "smarts"....

Good work.


Thanks mate, appreciate your trouble :)

Morn

Quote from: MacDeath on 11:03, 28 May 12
you can click on the "pictures" word at the upper-right of the sgallery.

Nice! I completely missed that feature. It looks like this solves the navigation problem.

Border_7

I know it's been a while since this was discussed.... but I couldn't help thinking how good it is to have each page accessible individually (to link to directly or if you want to go straight to 1 particular page) AND how great it is to have the magazine in flip through gallery mode....


So why not both?


Have a look:


Apr - 1987 - CPCWiki


Each page is there AND you can also start reading by way of a link at the top to the gallery mode page.


Simple? Awesome? Should please everyone?


:D
01000001 01101101 01110011 01110100 01110010
01100001 01100100
01000011 01101111 01101101 01110000 01110101
01110100 01101001 01101110 01100111

Bryce


Gryzor

Yup, it *is* very nice indeed; though, speaking for myself, I never read mags on a site, unless I want to reach a specific article. I usually download them and have them shown full-screen on my desktop...

Border_7

I'm a fan of everything online, crawled over by google etc... and hopefully all searchable and draws more and more people to the site etc etc etc and more people contribute and away we go!  ;D . As long as you have plenty of space for all the uploads???
01000001 01101101 01110011 01110100 01110010
01100001 01100100
01000011 01101111 01101101 01110000 01110101
01110100 01101001 01101110 01100111

Gryzor

Well, jpg's are not actually crawled, just indexes as filenames. Nothing changes. And almost everything there is has already been uploaded to the wiki - we're still holding!

EgoTrip

Does anyone have the missing issues of Computing with the Amstrad, and if so can they upload them please?

Border_7

Quote from: EgoTrip on 18:23, 11 September 12
Does anyone have the missing issues of Computing with the Amstrad, and if so can they upload them please?


I'm guessing you are referring to the British version?


That's a good question, the megaupload links are dead obviously that are here:


Computing with the Amstrad - CPCWiki


There's a few Australian ones here which shared the British content:


Computing With The Amstrad - Australian Edition - CPCWiki


I'm sure someone else can help out there???

01000001 01101101 01110011 01110100 01110010
01100001 01100100
01000011 01101111 01101101 01110000 01110101
01110100 01101001 01101110 01100111

Powered by SMFPacks Menu Editor Mod