Umbraco - how to insert clickable images into page? - image

I am a beginner with Umbraco. I am able to upload images to the Media Library and then put them onto the page, but for my sidebars I want the images to be clickable links to other parts of my site and other sites.
At the moment I am using the Rich Text Editor to write an anchor tag etc. but this seems ridiculous and I don't want content authors [attempting to be] writing HTML.
It seems like there should be a built-in data type for this, or a property on the image but I see nothing. Do I need to write my own Razor code as a DataType? This seems like such a common thing that I'm surprised there is not a built-in solution.
I'm using 7.2.8

If you're already using the RTE, you can just select the image and click the Link button, then whatever you have selected (in this case the image) should become a link. No need to make your own HTML :-)

Related

How to use url image inserting dialog instead of upload in CKEditor 5 Classic

I want to use CKEditor 5, insert image with URL dialog, instead of its default file upload dialog. how to do this in CKEditor 5 Classic?
There is, as far as I know, no such feature officially provided.
There is, however, a tutorial provided in the documentation on how to write such a feature: https://ckeditor.com/docs/ckeditor5/latest/framework/guides/creating-simple-plugin.html
There is also a separate project on github for the same purpose, which appears to be a bit more stylish: https://github.com/khanhna/ckeditor5-image-via-url
Both approaches require to configure a modified build, and both appear to lack an important component: a button in the image's toolbar to edit that URL later on.
So, a more simple approach that does achieve practically the same is to just drag the images into the editor from some browser window.

How to perform Preview in CKEditor

I am using CKEditor to get HTML from the user. The user will use HTML tags and it will be saved in the database. I need a functionality for the user to see how the page will be displayed when open as .html before saving in the database.
Is it possible to do that using CKEditor and if yes.....then how?
Thanks-in-Advance
It's certainly possible, but depends a lot on your specific requirements.
Get the contents of the editor using editor.getData(), then open a pop up window displaying that content - this should be relatively simple with JavaScript so I won't give any examples - you'll have to try it yourself first :). If a pop up is not something you want to use, maybe use an inline dialog, such as the ones that jQuery uses.
I would create the workflow so that the preview box has a save button inside it, forcing the user to preview before saving. If that's not acceptable, then create a separate button on your page to do the preview.

Displaying an image on ScrewTurn wiki

I'm sure I'm making a simple mistake but I'm having a lot of difficulty displaying an image in my ScrewTurn wiki.
The markup I am using:
[imageleft|Extreme Programming|goodlooking.jpg]
What I'm seeing displayed is a broken image with the caption.
An attachment named goodlooking.jpg is uploaded to this page.
Any help would be greatly appreciated. Thank you.
If you uploaded the image as a Page Attachment (at the bottom of the page), then you need to include the page reference in the markup. For example, if the page was named "Test-Page", it would look something like this:
[imageauto|Extreme Programming|{UP(Test-Page)}goodlooking.jpg]
If the page is not in the default namespace (i.e. "root"), then you need to include the namespace reference as well:
[imageauto|Extreme Programming|{UP(NamespaceHere.Test-Page)}goodlooking.jpg]
If you use the "Image" icon in the editor (near the center of the icons), it will handle the markup for you. Just make sure you click the "Browse Page Attachments" checkbox to see page attachments. Also, you may need to Save the page at least once before you can upload and attach Page Attachments.

How to Get Text Overlay on Images in WordPress?

I want to have some text overlay on Images and am using WordPress.
See this site - http://www.gxigroup.com
On the site, in Center, you can see an Image whose description is hid just LEFT side. When the "Show Text" button is clicked, the text comes up on the Image.
My questions is, How can I get the same functionality on my website running WordPress?
You can do it by adding some javascript to your header.php template file. Start with these and you should be able to get it.
http://codex.wordpress.org/Using_Javascript
http://wordpress.org/extend/plugins/tags/javascript-slider
It can be easily done with jQuery. I recommend you to search on Google "jquery slide panel examples", theres millions of plugins that do the effect you want.
Some of them:
http://web-kreation.com/demos/Sliding_login_panel_jquery/#
http://www.webdesignerwall.com/demo/jquery/simple-slide-panel.html
http://web-kreation.com/demos/login_panel_mooslide/

How to create a multiple effect textarea like google translate textbox?

Textbox of google translate (the left textbox- please view my screenshot: http://s970.photobucket.com/albums/ae190/swenteiger7/technology%20screenshot/?action=view&current=google_translate_textbox_event.png) have a lot of nice effects such as automatic highlight a word, automatically scaled ...
I am currently need to create a textarea so in my web application. I want to know a technology (prefer based on ajax and work well across platforms JSP) or website tutorials which help me to make a textbox like google translate textarea.
Thank you for viewing my question
Just to get you started see: https://developer.mozilla.org/en/HTML/Content_Editable and the links at the bottom of that page.
Basically it's not actually a textbox. It's a regular html element, but is marked as editable so people can type into it. But because it's regular html you can do special effects with it.

Resources