Feature #224

CE-Image - open link in new window

Added by FloB almost 2 years ago. Updated 11 months ago.

Status:Completed Start:
Priority:Normal Due date:
Assigned to:leo % Done:

0%

Category:frontend
Target version:2.8.0

Description

Sometimes an image link should be opened in a new window/tab - so please add an option to the CE-Image to open the link in a new browser window (like it is in CE-Hyperlink).

Maybe this is also useful for the add image to ce_text feature.


Related issues

duplicated by Feature #941: Content Element "Bild" - Verlinkung auf neue Seite Duplicate

History

Updated by leo almost 2 years ago

  • Status changed from New to Completed

To create an image link, use the hyperlink element instead of the image element.

Updated by FloB almost 2 years ago

The solution can be so easy ;) thanks & sorry.

Updated by thyon over 1 year ago

  • Status changed from Completed to Reopened

I want to re-open this ticket, because the clients don't understand this and also if I've created a single element where they can complete: Heading, Text and Image in 1 element, we should be able to simply add the TARGET to the link on the image as well.

My request is therefore to add the "target" (open in a new window) to the existing Image that you append to a CE-Text element. Currently you can add a URL to the Image that you "attach" to the CE-Text, but you cannot specify the Window open method. This would just be a simple addition of an existing field (from CE-Hyperlink) and just place it into the dca and the render code for the CE-Text.

Then you can create an image with a hyperlink that opens into a new window without having to create a CE-Text and then after that a CE-Hyperlink. Also its quite integrated that the image can be floated, etc. so moving it outside the CE-Text, means more CSS code to write, CSS classes to add.

Thanks for your consideration. (I've been wanting to add this request for some time)

Updated by leo 12 months ago

  • Target version set to 2.8.0

Updated by leo 11 months ago

  • Status changed from Reopened to Completed

Also available in: Atom