html not working in Gallery Description

PontePonte Registered Users Posts: 1 Beginner grinner
edited December 31, 2013 in SmugMug Customization
I have put this html into My Gallery Description but it does not work - however if I put it in an Image Caption then it does - how come
:dunno
html><a href="https://dl.dropboxusercontent.com/u/52613786/web/Pontefract_Camera_Club/Score_Sheets.html">Score Sheets</a></html>

Comments

  • brandofamilybrandofamily Registered Users Posts: 2,013 Major grins
    edited October 27, 2013
    Ponte wrote: »
    I have put this html into My Gallery Description but it does not work - however if I put it in an Image Caption then it does - how come
    <img src="https://us.v-cdn.net/6029383/emoji/ne_nau.gif&quot; border="0" alt="" >
    html><a href="https://dl.dropboxusercontent.com/u/52613786/web/Pontefract_Camera_Club/Score_Sheets.html">Score Sheets</a></html>

    Oh, just a thought... I don't thing you need the html tags any longer....
  • rich56krich56k Registered Users Posts: 547 Major grins
    edited October 27, 2013
    Ponte wrote: »
    I have put this html into My Gallery Description but it does not work - however if I put it in an Image Caption then it does - how come
    <img src="https://us.v-cdn.net/6029383/emoji/ne_nau.gif&quot; border="0" alt="" >
    html><a href="https://dl.dropboxusercontent.com/u/52613786/web/Pontefract_Camera_Club/Score_Sheets.html">Score Sheets</a></html>


    This is working in my gallery descriptions currently...

    <p><a href="http://www.motorcyclemayhem2006.com/home.html&quot; target="_new">MotorcycleMayhemFlyer</a></p>

    Note add the: target="_new" and it will open the link in a new window
    http://HooliganUnderground.com
    Member: ASMP; EP; NPPA; CPS
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited October 27, 2013
    If I enter into edit in NewSmug the html tags are removed on legacy and I have to keep adding them back in.
    At least in the past. Looking now and testing I see it now completely borks my legacy description.

    WARNING: If you have not unveiled do not do any gallery description editing in NewSmug. Switch to
    legacy and do it there. Luckily I have two galleries with the almost identical html description so I can
    recover but it will take a few hours.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited October 27, 2013
    I thought if one wanted HTML as the gallery description, one needed to add an HTML block, and not work in the gallery description per se. Is my understanding incorrect?
  • denisegoldbergdenisegoldberg Administrators Posts: 14,373 moderator
    edited October 27, 2013
    ChancyRat wrote: »
    I thought if one wanted HTML as the gallery description, one needed to add an HTML block, and not work in the gallery description per se. Is my understanding incorrect?
    I often have HTML in my gallery descriptions in the form of a link to a set of blog posts. That continues to work in new smug - with the exception that adding <html> and </html> tags is not needed.

    I also use HTML in photo captions.

    --- Denise
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited October 27, 2013
    I often have HTML in my gallery descriptions in the form of a link to a set of blog posts. That continues to work in new smug - with the exception that adding <html> and </html> tags is not needed.

    I also use HTML in photo captions.

    --- Denise
    Things from legacy do work in NewSmug as long as you don't try to edit. My legacy description html
    looked fine in NewSmug until I went in and add something like xx in the text and saved. Then the
    whole thing blew up. In my case I was using tables in legacy which looked fine in NewSmug but not after
    entering edit. Striped it all out.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • ChancyRatChancyRat Registered Users Posts: 2,141 Major grins
    edited October 27, 2013
    Allen wrote: »
    Things from legacy do work in NewSmug as long as you don't try to edit. My legacy description html
    looked fine in NewSmug until I went in and add something like xx in the text and saved. Then the
    whole thing blew up. In my case I was using tables in legacy which looked fine in NewSmug but not after
    entering edit. Striped it all out.

    I think one is not supposed to use html in new SM gallery descriptions.
    Because I see much broken HTML in legacy galleries currently, I've assumed I need to reproduce my html in html blocks in new SM.

    Maybe small things like links work but I don't understand that either.

    Does SM have a posted page on what format or rules apply to gallery descriptions in new SM?
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited October 27, 2013
    ChancyRat wrote: »
    I think one is not supposed to use html in new SM gallery descriptions.
    Because I see much broken HTML in legacy galleries currently, I've assumed I need to reproduce my html in html blocks in new SM.

    Maybe small things like links work but I don't understand that either.

    Does SM have a posted page on what format or rules apply to gallery descriptions in new SM?
    HTML still works in description and captions.
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • denisegoldbergdenisegoldberg Administrators Posts: 14,373 moderator
    edited October 27, 2013
    ChancyRat wrote: »
    I think one is not supposed to use html in new SM gallery descriptions.
    I don't think there is a supposed to or not supposed to here - HTML works in gallery descriptions and in photo captions in new smug.

    But - the HTML must be correct now where legacy smug let some incorrect syntax through.

    --- Denise
  • ColgriffColgriff Registered Users Posts: 4 Beginner grinner
    edited November 9, 2013
    HTML in captions
    I don't think there is a supposed to or not supposed to here - HTML works in gallery descriptions and in photo captions in new smug.

    But - the HTML must be correct now where legacy smug let some incorrect syntax through.

    --- Denise

    Hi Denise,
    Could you please give me an example of a working peice of HTML in a caption?

    My legacy captions contained this type of comment below, but will not work in the new Smugmug?

    <html>
    <br></br>
    <object width="300" height="42"><param name="src" value="https://dl.dropboxusercontent.com/u/50808807/Australian%20Wood%20Duck.mp3"><param name="autoplay" value="false"><param name="controller" value="true"><param name="bgcolor" value="#FFFFFF"><embed height="42" width="300" src="https://dl.dropboxusercontent.com/u/50808807/Australian%20Wood%20Duck.mp3" bgcolor="#9FB6CD" controller="true" loop="false" autostart="false"></object>
    </html>

    Thanks,
    Colin.
  • thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited November 9, 2013
  • ColgriffColgriff Registered Users Posts: 4 Beginner grinner
    edited November 9, 2013
    HTML Audio
    Lamah wrote: »
    Object tags are not supported in New SmugMug. Neither are <script>, <iframe>, or <embed>.

    Thanks for the super quick response Lamah,

    Before I go and test out a different way how about the <audio> tag in Html5?

    ... and if this is not supported either, can you please suggest a different approach to playing a sound from a caption/picture?

    Thanks,
    Colin

    www.wildbirdsofaustralia.com.au
  • thenickdudethenickdude Registered Users Posts: 1,302 Major grins
    edited November 9, 2013
    HTML5 <audio> and <video> tags aren't supported either. Not, I think, because SmugMug explicitly wants to block them, but simply because they haven't had many requests to turn them on yet. If you want the <video> tag, add a comment to my feature request here:

    http://dgrin.com/showthread.php?t=242015

    If you want <audio> tags to be supported, I would suggest posting a request to the feature request forum too.

    It is currently impossible to play sound from captions or pictures.
  • Luc De JaegerLuc De Jaeger Registered Users Posts: 139 Major grins
    edited December 31, 2013
    I just wanted to change the color of some text in a gallery description (there were already some words between the <FONT COLOR="#DEF38D"> xxxxxxxx </FONT> tags) and after clicking 'done', ALL my text colors in the gallery description were gone (even the ones that after migration in September showed up); just the bold (<B> xxx </B>) tags were saved and now there is no colored text anymore in the gallery description....

    It's about the http://lucdejaeger.smugmug.com/Personal/My-Ultimate-Collection/n-HRxtc gallery.

    Interestingly, the gallery descriptions of all the other (unchanged) migrated galleries still show colored texts...<img src="https://us.v-cdn.net/6029383/emoji/eek7.gif&quot; border="0" alt="" >

    Something is wrong here. It seems the gallery description, after editing, still does not save all HTML codes...<img src="https://us.v-cdn.net/6029383/emoji/headscratch.gif&quot; border="0" alt="" >cry

    Luc
  • AllenAllen Registered Users Posts: 10,013 Major grins
    edited December 31, 2013
    Try using <span style="color:DEF38D;">xxxx xxxx </span>
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • beardedgitbeardedgit Registered Users Posts: 854 Major grins
    edited December 31, 2013
    Something is wrong here. It seems the gallery description, after editing, still does not save all HTML codes...headscratch.gifcry

    Luc

    Hi Luc.

    It's a long-shot, but you might find that it's dependent on the gallery type - I've found that some HTML in captions that works in Lightbox, SmugMug-style and Journal, won't work in Collage Landscape, Collage Portrait and Thumbnail. See http://dgrin.com/showthread.php?t=240216 for an example of how italics are treated.

    Helpdesk were going to escalate this problem to the technical department but I've no idea if they actually did - I've had no feedback regarding this matter.

    I've also asked to see the HTML whitelist for content blocks - see http://dgrin.com/showthread.php?t=244052 - maybe that'll help us to find out why some of our HTML doesn't stick there and in other places?
    Yippee ki-yay, footer-muckers!
  • Luc De JaegerLuc De Jaeger Registered Users Posts: 139 Major grins
    edited December 31, 2013
    Allen wrote: »
    Try using <span style="color:DEF38D;">xxxx xxxx </span>

    Thanks Allen for the suggestion but it did not work.

    Luc
  • Luc De JaegerLuc De Jaeger Registered Users Posts: 139 Major grins
    edited December 31, 2013
    beardedgit wrote: »
    Hi Luc.

    It's a long-shot, but you might find that it's dependent on the gallery type - I've found that some HTML in captions that works in Lightbox, SmugMug-style and Journal, won't work in Collage Landscape, Collage Portrait and Thumbnail. See http://dgrin.com/showthread.php?t=240216 for an example of how italics are treated.

    Helpdesk were going to escalate this problem to the technical department but I've no idea if they actually did - I've had no feedback regarding this matter.

    I've also asked to see the HTML whitelist for content blocks - see http://dgrin.com/showthread.php?t=244052 - maybe that'll help us to find out why some of our HTML doesn't stick there and in other places?

    Thanks so much, I'll take a closer look at this.

    Luc
Sign In or Register to comment.