Image hosting website
-
Hi I am creating something like a website that hosts images, those images will be used particularly in forums, I want to find a way to make the images clickable so when a user posts a topic in some forum and uses a hosted image, for example [img]http://www.imagehosting.com/someimage.jpg\[/img\]. I want that image to be displayed in the topic like any normal image but I want it to be clickable like a hyperlink that links to some website. Anyway to do this? I hope so as I need this very badly.
And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat
-
Hi I am creating something like a website that hosts images, those images will be used particularly in forums, I want to find a way to make the images clickable so when a user posts a topic in some forum and uses a hosted image, for example [img]http://www.imagehosting.com/someimage.jpg\[/img\]. I want that image to be displayed in the topic like any normal image but I want it to be clickable like a hyperlink that links to some website. Anyway to do this? I hope so as I need this very badly.
And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat
:~
"The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Hi I am creating something like a website that hosts images, those images will be used particularly in forums, I want to find a way to make the images clickable so when a user posts a topic in some forum and uses a hosted image, for example [img]http://www.imagehosting.com/someimage.jpg\[/img\]. I want that image to be displayed in the topic like any normal image but I want it to be clickable like a hyperlink that links to some website. Anyway to do this? I hope so as I need this very badly.
And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat
-
Well, Yusuf, I don't think it is that simple. in a forum topic, the final tag for an image is
so at the moment I am only limited to transfer JPEG data. I was wondering if there was a trick to change the MIME response type of the server AND to make the browser accept html response inside an tag.
And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat
-
Well, Yusuf, I don't think it is that simple. in a forum topic, the final tag for an image is
so at the moment I am only limited to transfer JPEG data. I was wondering if there was a trick to change the MIME response type of the server AND to make the browser accept html response inside an tag.
And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat
Mohammad A Gdeisat wrote:
in a forum topic, the final tag for an image is
so at the moment I am only limited to transfer JPEG data
why is that? Can't you change that to be HTML and send what ever you want including the <img>
Mohammad A Gdeisat wrote:
I was wondering if there was a trick to change the MIME response type of the server AND to make the browser accept html response inside an tag.
of course you can cange the MIME type to what ever you want.
Response.ContentType
For list of MIME types see here
But I don't understand the need to spoof the MIME type instead of changing the forum header to regular HTML?
Yusuf
-
Mohammad A Gdeisat wrote:
in a forum topic, the final tag for an image is
so at the moment I am only limited to transfer JPEG data
why is that? Can't you change that to be HTML and send what ever you want including the <img>
Mohammad A Gdeisat wrote:
I was wondering if there was a trick to change the MIME response type of the server AND to make the browser accept html response inside an tag.
of course you can cange the MIME type to what ever you want.
Response.ContentType
For list of MIME types see here
But I don't understand the need to spoof the MIME type instead of changing the forum header to regular HTML?
Yusuf
Thats exactly what I did, I changed the MIME type to text/html in the custom http handler but when I created a test page with tag I could only see a bad image. no html data was displayed on the page.
And ever has it been that love knows not its own depth until the hour of separation Mohammad Gdeisat