• Resolved Mike-bd

    (@mikekharisma)


    I’m design a mobile theme fir my web site. All the usual <a href links work as they should do,but I can’t seem to make an image active?
    I’ve used this simple code
    a href=”fullimageaddress” img src=thumbimageaddress /a
    to call/echo the thumbnail and make the thumbnail active to bring up the full image on touch/click.

    If I “view source” the online page, and everything code wise seems to be set up perfectly. But the image on the iPhone refuses to be active. Anyone found a way round this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator James Huff

    (@macmanx)

    By “active” do you mean it isn’t linking to the full image?

    Also, please make sure this is what you’re using:

    <a href="URL of full image"><img src="URL of linked image"/></a>

    Thread Starter Mike-bd

    (@mikekharisma)

    James
    Hi yes I am using the correct code,just couldn’t get the post to print it properly.

    What I’ve found is that if I remove the float:left from the div CSS, it works. Put it back and the link stops working?

    Mike

    Moderator James Huff

    (@macmanx)

    What is the name of the theme you’re using, and where did you get it from?

    Thread Starter Mike-bd

    (@mikekharisma)

    IT’s my own theme I’ve built on ‘Blank’

    Moderator James Huff

    (@macmanx)

    Is it responsive for mobile devices, or are you using a mobile-specific plugin?

    Thread Starter Mike-bd

    (@mikekharisma)

    I’m using a plugin that swaps theme for each device.

    I’ve already rewritten the theme to create a specific theme for tablet/ipad, I’m now on the second rewrite for smartphone/iPhone.

    It’s bizarre how things work on the iPad but not in the same way on the iPhone.

    The links are working now I just have to rework the CSS to get the div to align the way I want them without using ‘Float’.

    Moderator James Huff

    (@macmanx)

    Excellent, thanks for sharing your solution!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Active image on the the iphone’ is closed to new replies.