PrettyPhoto.js using blogengine.net 2.0 - blogengine.net

I'm using BlogEngine.Net 2.0 and installed prettyphoto extension
but I dont know how to use prettyphoto in my post pages.
Thanks

You need to add:
rel="prettyPhoto"
to the anchor element surrounding your picture. Here is simple example from project site:
<img src="images/thumbnails/t_2.jpg" width="60" height="60" alt="This is the title" />

Related

How can I display a Media picker image

Sorry this might be a newbie question but I am quite new to Umbraco.
I have a media picker set up on a document type, and it all works fine.
So I go to the template and enter
#Umbraco.Field("bottomRightLarge")
this only gives me the ID of the image, how can I get this to show the actual image the user has selected?
I am using UMBRACO 7 - and I have tried http://our.umbraco.org/projects/website-utilities/social-bookmarking-button/general-discussions/19360-Displaying-an-image-from-Media-Picker-in-a-web-page - but the XSLT ERRORS bug time.
Try using the umbraco image item if using webforms or umbraco media for mvc
<img src="#Umbraco.Media(model.articleImageOne).Url" alt="">
or
<umbraco:Image field="articleImageOne" runat="server" />
This worked for me
<umbraco:Macro runat="server" language="cshtml">
<img src="#Model.MediaById(Model.topleftsmall).umbracoFile" alt=""/>
</umbraco:Macro>
please note I was trying this on firefox 20.0.1, and the save just didnt work properly.

How to load images in joomla component template

I am trying to using image tag to load image to a component template.
By
<img src="\images\subfolder\image.jpg" />
but the images don't show in the page.
I am wondering why.
Thank you.
Try this,
<img src="<?php echo JURI::root()?>images/subfolder/image.jpg" />
Hope its works..

J1.5 - How to add image button into joomla article

I am trying to add the images as button into existing article of web page. When I click on that button it have to redirect into another page or Url.
I have searched on net. I didn't get satisfied response.
I have gone through this page too.
Any help will be appreciated!!!
Actually, I have added the button using edit code option in joomla article, by inserting the following html code.
<a rel="nofollow" href="link_to_be_opened_on_image_click" class="weblink" style="text-decoration:none">
<img border="0" src="source_of_the_image_button.png" alt="Title" title="Title" />
</a>

What is wrong in this openlaszlo code?

i want to know what is wrong in this code
<canvas>
<view y="50" width="100%" height="300" bgcolor="blue" onmousedown="res.apply()" onmouseup="res.remove()">
<resizestate name="res"/>
<dragstate name="drg"/>
<text width="100%" bgcolor="gray" onmousedown="parent.drg.apply()" onmouseup="parent.drg.remove()">Drag here</text>
<html id="ht" src="text.html" x="15" y="15" width="${parent.width - 30}" height="${parent.height - 30}"/>
</view>
</canvas>
The code gets compiled but i am not able to see the html in swf version but i am able to see the html in dhtml version. I tried specifying the url too Still no results
It looks like the <html> tag functionality is broken in the SWF10 runtime of OpenLaszlo 5.0 (trunk) for some Webkit based browser (Chrome and Safari), but there are other problems as well. I've modified the code a bit to do some testing:
<canvas>
<button text="OpenLaszlo" onclick="ht.setAttribute('src', 'http://www.openlaszlo.org')" />
<button y="40" text="test.html" onclick="ht.setAttribute('src', 'test.html')" />
<view y="200" width="100%" height="300" bgcolor="blue" onmousedown="res.apply()" onmouseup="res.remove()">
<resizestate name="res"/>
<dragstate name="drg"/>
<text width="100%" bgcolor="gray" onmousedown="parent.drg.apply()" onmouseup="parent.drg.remove()">Drag here</text>
<html id="ht" src="http://www.openlaszlo.org" x="15" y="15" width="${parent.width - 30}" height="${parent.height - 30}"/>
</view>
</canvas>
Here are the results I'm seeing with this code for the SWF10 runtime:
InternetExplorer 9, Chromium 18 and Opera 12: Both pages (local test.html and OpenLaszlo) are displayed within the iFrame.
Firefox: Remote website OpenLaszlo.org displays, but local test.html is not shown.
Safari 5.1 and Chrome 21: Both pages are not shown within the iFrame
I would file an OpenLaszlo Jira bug, and send a message to the laszlo-dev developer mailing list referring to this discussion.
I've been developing in OpenLaszlo since 2006 and my personal experience with trying to use the OpenLaszlo <html> tag under the SWF run-time is that half of the pages I load into it work, half of them don't. I've come across situations where even simple web pages from Google will not work, it is a pretty unstable class, I do not recommend using it.

Add image to freemarker template for mail?

Im using spring email with freemarker template engine to send email to customers. As part of the signature I would like to add an image, but can't seem to get the template to find the image. The email appears with an image icon, not the actual image. Any ideas?
In email-html.ftl :
<font color="#636466">
With kind regards,<br /><br />
</font>
<font color="#00747B">
Name of firm<br />
</font>
<br />
<img src="/images/icon.gif" />
The image is available at /servername/contextroot/images/icon.gif
You can't use relative image URLs in an HTML email - there's nothing for them to be relative to. You need to change your template to use a fully-qualified URL.
You can also, I believe, embed image data within the email, but that's a whole different question.

Resources