Meta > Feedback

Chrome Extension for f.ds!

<< < (2/45) > >>

GendoIkari:

--- Quote from: werothegreat on June 03, 2015, 01:58:54 pm ---
--- Quote from: GendoIkari on June 03, 2015, 01:41:47 pm ---
--- Quote from: werothegreat on June 03, 2015, 01:28:38 pm ---The image is stored on the wiki as 'Card_Name.jpg', which the wiki is able to use to find the proper address for it.  The images themselves are listed under more complicated addresses, so outside of the wiki, I'm not sure if this is possible.

--- End quote ---

Yeah that's what I was worried about. I could technically copy and host all the images somewhere else; all in the same directory, but that's a lot of work.

--- End quote ---

Is there a way to just link to the file page on the wiki?  That's what the wiki itself does.

--- End quote ---

If you look at the markup for the rollover links; they actually link to  the image itself; not the file page. Linking to the file page wouldn't show just the card image itself. Though I might be able to datamine the file page to find the actual image link.

Hey, sort of related, what is this? http://wiki.dominionstrategy.com/images/thumb/0/0c/Storybook.jpg/155px-Storybook.jpg

Voltaire:
Looks like it's from the Fairytale fan expansion listed on BGG. Why it gets special status, no idea.

GendoIkari:
I need a post with a bunch of card links to test out the ability to do rollover links. So this is it.

Market, Grand Market, Rats, Fishing Village, Island, Fool's Gold, Band of Misfits.

michaeljb:
This page lets you enter a file name, then it redirects you to the full path.

It makes a request to a URL that looks like this:

http://wiki.dominionstrategy.com/index.php?title=Special%3AFilePath&file=Artificer.jpg

Maybe you could script something to hit that URL for each card name and save the map of card names to URLs? Or the extension could make the request behind the scenes to get the URL whenever a user hovers. My gut reaction is that it'd be better to just generate the map of URLs needed.

GendoIkari:

--- Quote from: michaeljb on June 03, 2015, 02:40:24 pm ---
http://wiki.dominionstrategy.com/index.php?title=Special%3AFilePath&file=Artificer.jpg


--- End quote ---

This link alone is perfect! Thanks a bunch! Ok, new version has been uploaded, fully works now!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version