Picture widget links and "open in new window" check box problem

  • 3
  • Problem
  • Updated 7 years ago
  • Solved
Hi,
I love the addition of the "open in new window" check box when adding links, however when i add a "Picture" widget and edit the link, it doesn't seem to work. Am I doing something wrong? Clicking on the picture widget still opens up the link but in the same window, not a new window. Can this be fixed or is there a way to edit the HTML of a picture widget?

Seems to work fine when using in a "text" widget though.

Thanks

Hugh
Photo of quachmore

quachmore

  • 1 Post
  • 0 Reply Likes

Posted 7 years ago

  • 3
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Hugh,

You're not doing anything wrong, this is a bug on our end we have logged for our engineers to resolve.

In the meantime, you can use a bit of HTML coding to accomplish this.

You will need to use an HTML Widget and the following code:

<a href="http://URLlink.com" target="blank"><img src="resources/yourimage.jpg"></a>

Replace the following:

URLlink.com with the URL you wish people to end up on.
yourimage.jpg with the name of your image file.

Thank you for your patience as we sort this out and our apologies for the inconvenience.
Photo of MELINDA

MELINDA

  • 19 Posts
  • 1 Reply Like
Is there a section for members to check for "bugs on Yolas' end logged for Yola engineers to resolve"? Be better for me to look there before posting questions on things not working.
Photo of Monique

Monique, VP of Customer Support

  • 6294 Posts
  • 446 Reply Likes
Other than responding to users in our forum and via email we do not have this at present. However, I can see how it would be useful and we will work on publishing something like this shortly.
Photo of Saskia

Saskia

  • 110 Posts
  • 11 Reply Likes
Hi,

I'm having the same problem as Hugh. However I can't quite work out how to use the HTML to refer to another file stored in my Yola Files. With other words, i'd like to use a picture link that refers to a pdf file...

Any feedback much appreciated!

Thanks,
Saskia
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Hi Saskia,

Try this snippet:


<a href="path2file.pdf"> <img src="filepath" /> </a>
Photo of Saskia

Saskia

  • 110 Posts
  • 11 Reply Likes
Thanks Gop!

But umm... when i replace the name of my pdf file for the "path2file.pdf" and the name of the image i use for the "filepath" it still comes up blank...
Or am i reading the html incorrectly?

Saskia
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
"filepath" is the real path to your image. It will be something like
"resources/imagename.ext". If you have used a folder in your file manager then it would be "resources/folder/imagename.ext"

Similarly your pdf would be "resources/{folder}/pdfname.pdf

The ".ext" I'm referring to in the image specs will be something like jpg, .gif or .png . This will depend on your image type stored in your File Manager.

Sorry about that. i was doing it generically. Please get back if you need further help with this.
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
If you want me to give you the HTML specifically then you can tell me:
what the pdf file's name is and if it is stored in a folder within the file Manager and likewise the image details. I can then transcribe that info into the code for you. Then you could cut and paste this.

Also if you can tell me your web-site URL too?
Photo of Saskia

Saskia

  • 110 Posts
  • 11 Reply Likes
Hi Gop,

Thanks for the explanation, it does work now...well....the image comes up with the link. However, it still opens in the same tab...

The website URL is: www.discoverycoasttheatregroup.com

I've changed the HTML snip with the correct pdf file and picture i'd like to use (otherwise i assume the picture and/or link wouldn't work). Any idea what i've might've done wrong??

Thanks so much for your support by the way, i admire people taking the time to read other peoples post and actually take action upon helping them!
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Ooops. i had overlooked your need for that. Leave it with me and I'll get it working shortly.
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
<a href="resources/{folder}/file_name.pdf" target="_blank"><img src="resources/{folder}/image_name.ext" /> </a>

Will open the PDF in a new window. If you substitute"_blank" with "_tab" this will open the file without any browser operations in a tab and is recommended but depends on the browser used by the user.
Photo of Saskia

Saskia

  • 110 Posts
  • 11 Reply Likes
Hmm...tried it and it does work however using Google Chrome, explorer or Firefox...they still open in the same tab. Ah well, never mind. I'll just wait for Yola to fix this problem in their tools....@ YOLA: any news yet?
Photo of Gop

Gop

  • 7473 Posts
  • 2115 Reply Likes
Oh bu&^%%!, Sorry Saskia.

You are not alone there are many who have had difficulty with this and they're dotted all across various web foras.

Did you try both the Tab and the Window options ? (He hesitates to ask?)
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Happily Saskia (and everyone else plagued by this!) I can report this has been fixed, it's just being tested and should be released later next week!