Hot answers tagged

17

This is also a tool in the Tridion PowerTools project I believe it is working: https://code.google.com/p/tridion-2011-power-tools/wiki/BatchImageUploader


16

This behaviour is normal. Tridion keeps a list of all published multimedia components and their actual files on the file system. If you would change the name of a file in the multimedia component and republish it, it will update this record, and remove any old files, and put the new file in place. If this wouldn't happen, the server you publish to would be ...


15

You can upload multiple images using webdav... Copy paste via windows explorer. Setting the default schema on the folder will define what MM schema they use. To make a Webdav connection you can create a network connection to your CMS server using http://servername/webdav


14

Basically you need to add the XPM/SiteEdit markup yourself around that image, as you are using additional HTML to display your image (your img element). So you need something like: <div> <!-- Start Component Field: {"XPath" : "tcm:Content/custom:Content/custom:image[1]"} --> <img src="@@Component.Fields.image@@" tridion:type="...


10

If you mean to add a thumbnail instead of the little icon which is displayed in the Component Template dropdown on the Insert Component Presentation dialog in a Page (see image below), then technically that is possible, but there are a few things I should mention. It is possible to change icons in a list using a UI extension/data extender, see ...


10

You can map a network drive pointing to the CMS webdav http://cmsurl/webdav. However this won't upload any metadata, in order to do that you will need to write some custom logic like event system to populate custom metadata, other issue regarding using webdav is that it will use the default multimedia schema or the schema specified in the folder where you ...


10

As an alternative to WebDav, the 2011 Power Tools project includes a Batch Image Uploader: https://code.google.com/p/tridion-2011-power-tools/


10

We can create a short utility by using the core services to upload the CSS images. Even, we can create more generic utility for CSS file which will only upload those css images which are using in css files.


9

When using Dreamweaver, you could have it upload all your images referenced in your DWT templates by uploading the dependent files. Dreamweaver uses WebDAV for the actual upload, so the manual way of doing that would be to just use the WebDAV Windows Explorer interface (where you can drag and drop multiple files). If you would like something else then the ...


8

Tridion provides OOTB webdav capabilities. You could use the webdav client to upload (literally drag and drop from your desktop) the files you want. Check the Tridion Docs: http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/task_5C45FF81C2474FF1BC57C371E967B617 (requires usedid/pwd) Authors could map the webdav URL as network ...


7

though I know others have already answered the question by suggesting Power Tools, I'd like to address something else. If your need is specifically images referenced in the CSS file, then these images probably aren't 'content', are they? I would think that images called from CSS are presentational in nature, and will be called, therefore, every time a page ...


7

It sounds like you need to set the publish location for binary files in your cd_storage_conf.xml used by the deployer to something like the below: On the server where your Deployer service is running, open the cd_storage_conf.xml file and set the Storage element's Root Path attribute <Storage Type="filesystem" Class="com.tridion.storage.filesystem....


7

When the DXA publishes binaries (either linked from MM link fields, or embedded in RTF) it publishes the original full res image. When the image is rendered by a view, it will be resized according to the particular design requirements of the view - in this way we try to keep a clean separation of content and design. RTF fields are tricky as when you start ...


6

This can be implemented with the event system, using the Initiated phase (if you are on 2011 or higher). Simply use the FileInfo class to check the size, and throw an exception if it is too big. Alternatively, you could modify the IIS settings to disallow uploads larger than 2MB.


6

You can resize (or crop, which is another common use-case) the image at different phases: When the image is uploaded to Tridion ("baked" in the Content Manager) When the image is published to Content Delivery ("baked" on publish) When the image is delivered to the visitor ("fried" on request) Each of these approaches has their own advantages and ...


6

We have a TBB "Output Multimedia Component as String", which may (or may not!) work for you with a little adaptation: BinaryContent binaryContent = component.BinaryContent; byte[] bytes = binaryContent.GetByteArray(); UTF8Encoding enc = new UTF8Encoding(); string output = enc.GetString(bytes); We used this in the early days for outputting script content ...


5

If for any reason you require the same image in the CMS to be published with different names (Example: You are resizing the image, create an additional thumbnail version, etc...) is also possible using an overload of the method RenderedItem.AddBinary where you specify a variantid, so there is no conflict between both published files coming from the same ...


5

No.. only jpg/gif/png/tif/bmp, as per documentation link below https://docs.sdl.com/LiveContent/content/en-US/SDLMediaManager212-v5/GUID-CF1C8C0E-41BF-4A8C-B185-3196DDA2B06C


4

Yes, it is possible to update images through XPM. Just make sure you have proper XPM tag around images. You can consider images as you referenced them in CME, same way XPM will work. You can change image very easily. File system deployment is on content delivery side which will happen when you finish editing in XPM. On click on finish editing in XPM, the ...


4

There is a TBB you can use out of the box called Image Resizer. In its parameters you can specify to which size to change the image to. It publishes the image to the same location as all the images go, but under a resized filename and variant ID so that there is no conflict. The way you're expected to use the images from this TBB is in conjunction with ...


4

The Image Resizer TBB should have a Parameters Schema set, this Schema has 4 fields Width - (defaults to 100) An integer that specifies the desired width of the resized image Height - (defaults to 100) An integer that specifies the desired height of the resized image Percentage - If set to a value, specifies that the images should be resized to N percent ...


4

I realise that I'm a bit late to this party, but you may want to consider using @UI-Beardcore's MultipleUpload bookmarklet: http://tridion.uibeardcore.com/2014/07/tools-multipleupload/#bookmarklet This is one of many bookmarklets submitted to the Tridion Bookmarklet challenge and is a great example of providing really easy to use functionality by extending ...


4

Replying to your edited question. SVGs are not supported by Media Manger, but that doesn't stop you from using them on your website. You should be able to add them as multimedia Components into Tridion. You will have to add the extension/MIME type. See Adding Multimedia Types.


4

You've actually a few questions here - but I'll take the Tridion specific one #2a One option would be to have a MM Item linked Component containing the metadata for that specific image. Each MM item would have its own* respective metadata content Component. This way, you can send the Component containing the content for translation and leave the original MM ...


3

I guess you'd have to start by intercepting the Paste event (see here) and then implement the logic around whatever it is you want to achieve. Keep in mind that most browsers disallow access to the clipboard from Javascript, so you won't be able to do anything fancy like manipulate the image before pasting or even checking the image dimensions.


3

Potentially the Tridion Event System and/or extensions may help you modify and enhance system behavior, however as Alvin and Peter stated, it would be helpful to know what exactly it is you want to accomplish.


3

Using the @@FieldStartMarker(field)@@ and @@FieldValueStartMarker(index)@@ generates TCDL and SPAN tags around your content (coming from @@GetFieldValue(field, index)@@). This won't work when you use it inside an HTML tag attribute, since that will render the entire HTML invalid. So since you need the image to be resolved as a background image in a style ...


3

WebDAV is fast. In-context, Upload Multimedia is faster for "in-context" (meaning while creating some other content) multimedia creation. Content Types are another feature to assist in the quick creation of content with certain defaults and naming conventions (typically text-based components, but useful of multimedia on the page). From the perspective of ...


3

While browsing through SDL Live documentation, just came across an article(login required) where the step by step solution given to change the icons of CTs & PTs in Experience Manager(XPM). Please check if it is useful!


3

The "Images URL" (a.k.a. "Multimedia URL") is supposed to be "under" the "Publication URL". The way you have it configured currently indeed results in images being resolved in context of the 500 Website Master Publication/Localization, because that is the only one where the Publication URL matches the URL of the images. So: you should set the "Images URL" ...


Only top voted, non community-wiki answers of a minimum length are eligible