Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-01-2013, 04:13 PM   #1
krausj
Enthusiast
krausj began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
How can I make an image clickable, and have it redirect you?

I want to make an image clickable, and then have it redirect the user to a specific page. Is this at all possible?
krausj is offline   Reply With Quote
Old 05-01-2013, 04:51 PM   #2
Tex2002ans
Fanatic
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 539
Karma: 562971
Join Date: Jul 2012
Device: Nook
Quote:
Originally Posted by krausj View Post
I want to make an image clickable, and then have it redirect the user to a specific page. Is this at all possible?
Surround the image link in a <a> tag, just like you would creating any other link. Although keep in mind that there is an ADE bug which does not allow images to be clickable.

Since most ereaders are ADE based, it is not recommended to do this (although it is perfectly valid).

Code:
<div class="image"><a href="http://www.sample.com/"><img alt="" src="../Images/sample.png"  /></a></div>
Tex2002ans is offline   Reply With Quote
Old 05-01-2013, 05:55 PM   #3
krausj
Enthusiast
krausj began at the beginning.
 
Posts: 36
Karma: 10
Join Date: Apr 2013
Device: ipad
thanks so much. a few quick questions.

Is ADE Adobe Digital Editions?

And if I want the link to direct someone to, let's say, page 5, what info do I use do specify page 5? Since it isn't a website, so I can't do www.etc., do I put the href id of the page?
krausj is offline   Reply With Quote
Old 05-01-2013, 06:27 PM   #4
Turtle91
Guru
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 669
Karma: 3807234
Join Date: Dec 2012
Location: Shannon, Ireland today
Device: iPhone 5/iPad 1&2/Surface Pro/Kindle PW
yes ADE= Adobe Digital Editions.

You can't link to a page number - there are no "page numbers" in a reflowable ebook. The best you can do is pick a paragraph, or header, or something to point to:

<p id="Image_Lnk">Blah blah blah</p>

Then on your image:
<div><a href="yourfilename#Image_Lnk/"><img alt="" src="../Images/sample.png" /></a></div>
Turtle91 is offline   Reply With Quote
Old 05-02-2013, 08:35 AM   #5
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,086
Karma: 1444487
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
For those of us without back buttons on our e-readers, be kind please and include a return link if the reader is likely to want to return.
mrmikel is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make image visible? ppharm PDF 2 01-11-2011 07:40 AM
iPad Clickable map on iBooks reader sawano Apple Devices 0 11-29-2010 07:01 AM
How do I change make the text of my post wrap round an image? Mike L Feedback 4 08-12-2010 05:39 AM
Buttons and Clickable Images dclavey ePub 3 10-08-2009 07:28 PM
Clickable Images in PDF dclavey PDF 4 10-08-2009 11:19 AM


All times are GMT -4. The time now is 04:14 PM.


MobileRead.com is a privately owned, operated and funded community.