Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rene 6 posts 26 karma points
    Sep 18, 2013 @ 14:27
    Rene
    0

    Umbraco backend best pratice with text and images, richtext-editor or not?

    What is the best practice when adding content in Umbraco Backend? Do you merge text and images together in the richtext-edior? Or do you make a property for the text and one for the image? I think that the it is messy in the richtext-editor.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 18, 2013 @ 20:31
    Jan Skovgaard
    0

    Hi Rene

    Well it depends what the purpose of the image is? Is it an image that is always set in the top before the content? Or could it be used somewhere in the content?

    I think it makes perfect sense to sometimes place an image in the rich text editor if it has a purpose in the textual context.

    But can you ellaborate a bit more on your scenarios and what your website is for etc.?

    /Jan

  • Rene 6 posts 26 karma points
    Sep 18, 2013 @ 21:28
    Rene
    0

    Hej Jan,

    Tak fordi at du tog dig tid til at svare.

    Jeg skriver lige på dansk, så må jeg oversætte det hvis det bliver nødvendigt. Jeg ved ikke om det er min manglende erfaring, men jeg synes til at det bliver rodet, når jeg har brugt text editoren. Det kan være svært at forstille sig hvordan teksten og billederne vil gøre sig på hjemmesiden, hvis du forstår hvad jeg mener? Men lad os side at man vil have en tekst til venstre og et billed til højre, vil man så bare lave css-klasse som vil floate billedet? Ved du om der er noget materiale om emnet? jeg har ikke kunne finde noget. 

    Med venlig hilsen

    Rene Thomassen

     

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 18, 2013 @ 21:57
    Jan Skovgaard
    0

    Hi Rene

    Please keep the language in english since other people from around the world might benefit from your posts as well :)

    Well there is no documentation on the subject since Umbraco really is just a framework, which you can build on top of. That means you can build an Umbraco solution in MANY different ways. That is the weakness and the power of Umbraco.

    The layout you mention above is a classic - I try to avoid it if I can since it's really hard to control using a rich text editor, which you also mention yourself. However this goes for any CMS using a rich text editor for text content I guess.

    Is it really neccesary to have the image placed like that?

    If so you could consider using a table with 2 columns. However I would advice strongly against that since it's not really tabular data and tables should not be used for presentation.

    You could also try following the advice from the karmanator, sir Matt Brailsford in his blogpost here http://www.theoutfield.net/blog/2013/06/aligning-images-in-umbraco-tinymce-with-css-classes

    However you should be aware that the changes made, will be overwritten if you someday decide to upgrade your Umbraco installation, which means you must remember to add the changes again.

    Hope this helps.

    /Jan

  • Rene 6 posts 26 karma points
    Sep 18, 2013 @ 22:17
    Rene
    0

    Hi Jan, 

    Thanks again for your reply.

    I have trid something like this:

    <div id=col1>

    pure text from the richtext editor (property) 

    </div>

    <div id=col2>

    Insert image from the image-picker property

    </div>

    However  now  my design not flexible, I can only have one image. 

    i think it is a interesting problem, but then again I am not experienced. I just wanted som thougths on how to manage your content. But i will play with the text-editor some more  :0)

    best regards Rene

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Sep 18, 2013 @ 22:29
    Jan Skovgaard
    0

    Hi Rene

    You're welcome.

    Also keep in mind how the image should look on smaller screens like cell phones, tablet etc. etc.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft