Hot answers tagged image-display
7
You need to apply the style to the IMG, not the HREF.
This will show the blue border (at least in IE and Firefox, Chrome doesn't)
<a href="http://sharepoint.stackexchange.com">
<img src="http://cdn.sstatic.net/sharepoint/img/logo.png">
</a>
Neither of these will, first using the 'old style' border attribute
<a ...
5
(This answer assumes you're asking how to implement a solution like which you're asking):
Best way to do this I think is to create a new Content Type which inherits from Page, and includes a PublishingImage column, and maybe some other columns for the details. Make the various columns for the details Optional or Required as needed.
When people create their ...
2
Add a DataView web part for your Picture Library to your page using SharePoint Designer.
Customize the XSL to reformat your output into the tags expected by the jQuery.
Include the jQuery script and css file reference at the top of your page.
Call the jQuery method using the example code you referenced in your question.
2
Check out this codeplex project to do just what you want:
http://spimagehyperlink.codeplex.com/
A Sharepoint 2010 Custom Field Type that extends the SPUrlField type
to allow you to have an image instead of a text description as the
link.
In case you have not already seen the basic out of the box functionality for picture columns, there is also the ...
2
Jquery all the way.
To store webpart property use something like
[Personalizable(PersonalizationScope.Shared),
WebBrowsable(true),
WebDisplayName("Site"),
WebDescription("The URL of the Site."),
Category("Carousel Configuration")]
public string CarouselSourceSite { get; set; }
...
1
You can save images in a asset library and then get images from the library and display them in your user control which you can then add it to the master page. The logic will be:
You can add a column to the asset library calles Sequence Number. You can display the first image on load and save it as session variable and on next load you can load the next ...
1
This product is quite nice and does the trick for me at least. I have no affiliations with the product what so ever. Path To SharePoint - Image Rotator. Have fun.
Open your masterpage in SharePoint Designer and insert it via the SPD UI. Or if it's a masterpage deployed via Visual Studio, register your visual webpart as a webusercontrol like so:
Example:
...
1
Not 100% certain this will work, but in theory it's sound and it's the first thing I'd try in this instance
Backup the site collection using powershell.
Restore the site collection to the new location.
Update the ServerRelativeUrl of the blog web.
Ensure you call the .Update() method of the blog web object
Edit: if you're looking to change Urls with an ...
1
I've always been fond of RightJS's RTE. I admit, I haven't implemented it for use with images, but there is a post on SPServices forum that discusses how to handle file uploading. You should be able to extend the RTE to grab files from desktops instead of URL's and send them to the appropriate library.
1
As I posted on Stump the Panel
Check the image source location to ensure that permissions inheritance
is not broken from the main site. Then check to make sure the images
therein do not have any custom permissions or broken permission
inheritance.
It may be possible the individual user you had granted access to the
site already had read or ...
1
Your styling the wrong element, you need to style the links.
http://www.w3schools.com/css/css_pseudo_classes.asp
You can view styles applied by using the IE Developer tool, FireBug in Firefox, or Chrome developer tool.
Good blogs to keep bookmarked:
http://blog.drisgill.com/
http://www.heathersolomon.com/blog/
1
I found it! Apparently on Web Part Pages, the default logo on these pages takes reign over any custom logo code put into the master pages.
To fix this:
Go to the page that has the offending default logo; On the Page ribbon tab, select Title Bar Properties; Scroll to the right and on the Web Part Page Title Bar properties input the logo URL; Click OK and ...
1
I would look at the URL for the image in the rendered page to see where it is coming from, which you can do from the browser, or using tools like the IE developer toolbar or Firebug. The most likely cause is that the image source is not pointing where you thought it was or it is relative to the base URL of the page.
If you give some more detail you might ...
Only top voted, non community-wiki answers of a minimum length are eligible
