Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Images with Links & pop up size
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 1, 2014 - 5:53 am

Good morning,

My customer wants to put image/banners at the bottom of some of his posts. But when inserting an image and then once inserted applying a link, the link doesn't work it just opens the pop up of the image (which we want turned on). It mentions in the help section to apply a class to the image to override the pop up feature, however where do I assign a class to it?

Thanks

Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 1, 2014 - 5:58 am

Sorry didn't clarify, the pop up size issue was the box for some images appears quite small with a scroll bar. eg. screenshot attached.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 1, 2014 - 6:18 am

You simply assign a class attribute to the image tag itself. If using the TinyMCE editor then you would need to use the HTML Source Code button so that you can edit the HTML directly.

This option is really more useful for people who embed stuff into posts at display time using a WP filter. Like, perhaps, advertisments. But it can be used anywhere.

Can we assume that you prefer not to use the more usual Signature for this because it is not wanted on all posts?

And there was no attachment in your second post. And I didn't really understand what you were getting at either I am afraid,

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 1, 2014 - 7:27 am

Thanks for the reply. Image now attached of the pop up.

You are correct they want different ads in different posts so the signature isn't suitable. Don't know why the attachment didn't work, tried to attach to this one.

Don't have a source button how can I add this just for admin users?

I presume it's under the tinyMCE options?

 

Thanks

 

 

pop-up.pngImage Enlarger

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 1, 2014 - 7:43 am

You can't add it just for admin users - we don't have that facility I am afraid.

The Source code button is added to the toolbar by default. See the editor on this site - top row - second from the right. If you have removed it and need to add it back in then you can do do through the editor options admin panel.

The enlarged image popup looks to me like it is being affected by CSS from perhaps the WordPress theme or from another image popup type plugin. Might this be the case? Again - you can see how it should look here.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 2, 2014 - 5:09 am

Tried the class addition but it doesn't stop the pop up.

All the customer wants is to be able to insert an image into a post with a link applied.

Issue is once inserted the magnifying glass appears on the result as in post 4 and the link just launches the pop up instead of going to the linked location.

Trying below the technique suggested to see of it works on your forum.

1. Attach image using file uploader

2. Edit source code and apply class

3. Add link to image

pop-up-1.png

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Dec 2, 2014 - 5:22 am

Wow that really didn't work did it.

Odd - as that capability was put in place for a specific and one of our oldest users who still uses this method to this day...

You will note that I made an edit. An alternative method is to name the class 'wp-image' which is what I have done above. This DOES work as you see. And I will change the help text accordingly.

Surely another method too would be to make your image smaller than the setting you have for thumbnails. Doesn't that also work?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kenn
Somerset, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 2, 2014 - 9:00 am

I haven't tested for conflicting css on the pop up window yet I will look into that.

I will try the wp-image now, thanks.

 

Update: Worked, thanks

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Dec 2, 2014 - 11:23 am

Good to know, a ticket has been opened.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626