Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Add links to images when using TinyMCE
Avatar
shortspring
Member
Free Members
sp_UserOfflineSmall Offline
Oct 7, 2013 - 12:36 pm

There could be something easy I'm totally overlooking, but I can't figure it out. I need to be able to add links to images while using TinyMCE. Right now if users add an image via URL (amazon s3 storage) and then link the image to the webpage using the insert link button, the image does not link to the webpage but to the image. 

If I pull up the html code for the post, it shows that the link SHOULD go to the correct webpage, but when clicked, the image appears, not the page. 

Then if I inspect element in chrome, it shows that it is linked to the image, not the page.

See it in action here: http://scrapstacks.com/scrap/80458

Thanks for your help. 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 7, 2013 - 4:47 pm

you have me confused...  the link you posted has nothing to do with the forum... and the image you linked to is use a php file to process the image/link (ie showphoto.php)

are we talking about the forum and the tinymce plugin (really just uses wp editor) for it?

Avatar
shortspring
Member
Free Members
sp_UserOfflineSmall Offline
Oct 7, 2013 - 7:27 pm

Sorry...I didn't pay attention to my link. Here is the post:

http://scrapstacks.com/scrappa.....t-costume/

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 7, 2013 - 9:23 pm

so can you now walk me through the steps you performed?  are you using html or the html editor of tinymce?

I definitely see the html linking to the image, not a page...

Avatar
shortspring
Member
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2013 - 2:20 pm

Here are the steps:

1. copy url of image link by right clicking

2. click add image icon (tree)

3. paste in url of image

4. click insert

5. select image by clicking

6. click insert link/edit link button

7. paste in url of PAGE

8. submit

9. after the post goes live, the clicking on the image pulls up the image url, not the page.

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2013 - 3:25 pm

lol. by default we dont even enable the image button anymore since wp doesnt use it...

but a test on my dev site showed your steps to work fine...  will turn it on here temporarily and try it... if it works, will ask you to try it here too...  might help point to something else perhaps interfering on your site...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2013 - 3:26 pm

problem-with-post-edit-buttonaving-a-little-fun-with-a-series-of-photos-of-my-son-from-last_80458_D.jpgImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2013 - 3:29 pm

well cant really test here since we use the image popup functionality...  its off on my local site...

but might still point us somewhere...  are you using the image enlargement popup on your site?  it actually looks like you are...   but the popup is redirecting to another page instead of a popup... which could mean you have some other popup image functionality (like highlslide) active on your site...

what happens if you disable the popup enlargment on forum - options - content settings and try again?

Avatar
shortspring
Member
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2013 - 5:00 pm

Turning off the popup enlargement was one of my first steps. It didn't fix the linking issue. I just turned off always use thumbnails and that seems to do the trick. :)

Oh, and thanks for scaring me...wasn't expecting my son to jump out at me in this thread! :D

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 8, 2013 - 8:31 pm

eh, sorry, I did mean the thumbnails...

lol, sorry on scaring you with your son too! ;)

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625