Community Central
Community Central
(Is nobody here who can help or give an advice?)
No edit summary
Line 35: Line 35:
   
 
Is nobody here who can help or give an advice? [[User:Spankart|Spankart]] 12:57, 1 January 2008 (UTC)
 
Is nobody here who can help or give an advice? [[User:Spankart|Spankart]] 12:57, 1 January 2008 (UTC)
  +
  +
Why not save the chart and upload it as an image?

Revision as of 00:57, 5 January 2008

Forums: Index Help desk Can't use Google Chart API
Fandom's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
Archive
Note: This topic has been unedited for 5949 days. It is considered archived - the discussion is over. Information in this thread may be out of date. Do not add to unless it really needs a response.

Image hotlinking is enabled in Wikia (see my earlier posting on this). One area where this feature would be very useful for many wikis is the Google Chart API. However it does not work - probably because MediaWiki doesn't realize that the URL, which doesn't end in a known image extension such as .jpg, .gif or .png, returns an image.

http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250x100&chl=Hello%7CWorld

This line should be replaced by a chart, but it isn't. Does anyone know a way to make it work? Spankart 08:39, 8 December 2007 (UTC)


You really think hotlinking is enable ?

http://synaptique.ca/zimages/valid-css2-blue.png

http://synapse032.synaptique.ca/ima/minis/synapse032_image_014_mini.jpg

TulipVorlax 01:35, 9 December 2007 (UTC)
P.S: Thoses are on my personnal hosting wich i am paying for. Each image link to the page where they actually are. — TulipVorlax 01:37, 9 December 2007 (UTC)

http://www.furrysoft.de/screenshots/tigger/plugins/SmileyTicker.png

Yes. See the smiley for example, or the Google logo on Forum:Image hotlinking. You need to remove the square brackets to make an image hotlink instead of a normal external link. Now back to my original question: Does anyone know a way to make using the Google Chart API work in Wikia? For example, can I do it with some JavaScript, e.g. via an HTML <img> tag? Example (which doesn't work because you can't use the <img> tag directly in wiki source:

<img src="http://chart.apis.google.com/chart?chs=200x125&chd=s:helloWorld&cht=lc&chxt=x,y&chxl=0:%7CMar%7CApr%7CMay%7CJune%7CJuly%7C1:%7C%7C50+Kb"alt="Sample chart" />

Spankart 01:26, 10 December 2007 (UTC)
Hey, the part « you need to »... is, well you think i dont know how to use wiki code ? Sorry but i think i know better than you. External images can be hotlinked like you're saying should also be able to be put in a link like this :

http://www.furrysoft.de/screenshots/tigger/plugins/SmileyTicker.png

You can do JS on a wikia where you have admin right. You simply go to Mediawiki:Common.js. — TulipVorlax 08:28, 10 December 2007 (UTC)

By the way, i really dont know why some images are blocked while some others aren't. But i know one thing; Wikia is working on a way to let local communities decide wich domain name to permit and wich to blocked. Or at least i think they are... I dont remember where i've read this... — TulipVorlax 08:33, 10 December 2007 (UTC)

I'm sure you know wiki syntax better than me, TulipVorlax. I didn't know I could put a hotlinked image into a link. I do have admin rights in my wiki, but I don't know much about JS or CSS and so, unfortunately, I can't figure out how to solve the problem myself. I hope some wiki guru may be able to help. Spankart 09:48, 10 December 2007 (UTC)

Is nobody here who can help or give an advice? Spankart 12:57, 1 January 2008 (UTC)

Why not save the chart and upload it as an image?