I am currently working on Sitefinity multilingual (English & Arabic) web application where I am getting a very strange issue regarding document (image) upload.
In my News module, I have a custom field for upload image. When I am adding an Arabic news of a news (translating in Arabic language of already added news of English site) that time the image is showing the (not translated) message and the image is not showing in the Arabic site after publish. And when I select another image in that image upload field that time it's showing in Arabic site but then it's removed from English site.
It's happened because you need to create AR translation for image.
When you are creating Arabic translation for new, you will see:
That means your image is not translated. You need to go to Content->Images, find your image and add AR translation (in my screenshot it is Spanish):
After that, image will appear in the Arabic site
In case, if you want different images for different languages, you can upload different image for AR translation. It is supported only in Sitefinity 9.0 and after. You need to chose Use another file for this translation ยป or upload another file for this translation. You can find more details in this documentation:
http://docs.sitefinity.com/translate-content-items-and-taxonomies#translate-an-existing-media-content-item
If you have older version of Sitefinity, you can check this article: http://knowledgebase.progress.com/articles/Article/How-to-localize-media-content
Related
I'm building a simple app, which shows news from different websites, e.g. https://techcrunch.com/2020/07/28/transferwise-five-unicorns/
My source is a database with news URLs.
Each article comes with an associated image. I do not have a URL of the image, only URL of news itself.
My question is, how can I get the associated image to appear in my Gallery? Is there a function I could use?
Here is an effect I'm trying to achieve:
Help please,
Thanks!
Maciej
Ps. I know it is possible, as all rss readers (like Feedly) or even SharePoint news webpart easily pull image just from provided link.. but how?
Are you unable to copy the image path and manually input it into where you want it to go?
Recently started work on a BigCommerce project and on the homepage I want to have a theme area where normal site admin users can upload their own images based on holidays (Xmas, halloween etc) in the theme editor.
I know how to add in some custom elements in the theme editor using the Schema and Config files (headings, text, font colours etc), and how to reference them in the homepage. I'm also fine with referencing set images in the assets folder which aren't going to change, and manually coding references to them.
However I can't quite seem to work out how to add a custom image upload to the theme editor, or how to reference it in a page. Can't seem to find any answers in the Stencil documentation or usual Google searches etc either.
The Stencil Theme Editor currently only supports the file upload data type in the Optimized One-Page Checkout customization settings, but there are a couple of possible workarounds to allow the user to upload their custom background image and then reference it in Theme Editor settings:
One option would be to have the user upload their image to WebDAV, making sure that their image followed a naming convention that you specified. For example, the Halloween image could be required to have the file name halloween.png. You could map that value to a Theme Editor dropdown setting for Holiday Background>Halloween.
Another solution might be to have the user upload their image to WebDAV as mentioned above, but instead of a dropdown menu, you could have the user type their file's name into a text input setting in the Theme Editor. Keep in mind though that there's a 64 character limit for input values.
Hope this helps!
There are 4 ways to get images into the BigCommerce store.
You can:
Upload into the content folder through webdav. Then the images would be referenced like url.com/content/image.jpg. This does require a webdav connection and while everything does point you to using file managers like cyberduck, you can actually map a drive to a network resource to make this super easy. This mean you can create a z drive that is actually your bigcommerce content upload through webdav. It's pretty easy to set up and for customers to use. The drawback is that these files do not get put on a CDN so there's a little loss of performance.
Upload into the theme's images folders. This is complex and would require your client to figure out the stencil local dev connection and push versions up to their store. This would allow the images to be CDN'd but is super complex and your clients won't figure it out... It could also expose you to some long-term version control issues as they may be overwriting you or vice versa.
You can use the media manager to upload images. If you're referring to them in code, an easy trick is when your clients want to replace an image, to delete it and upload a new one with the exact same name... then the reference doesn't break. This is the easiest way to deal with site-wide issues from the client-side. Images are CDN'd this way as well.
You can consider using the marketing banner function for semi-temporary marketing messages. This is what it is made for, the images will be CDN'd and it's full GUI with no techy connections for your clients to figure out. This is perfect for banners that span a single page, but I don't think there is currently a side-wide setting for locations.
I recently had a team member install the Image Replace module on a site we are working on for the purpose of having different versions of a hero image for both desktop and mobile resolutions. I followed all of the steps on this blog as closely as I could- but even with the module activated, breakpoints created, image styles and picture mappings set, and the image fields edited to specify which field they are swapped with and at which breakpoints... no images are being replaced.
Just to offer any sort of potential clue, if I drag the image from a field that is intended to be swapped out at both breakpoints specified for the picture mapping into a new tab, the "correct" image styles are specified in the url but are not swapping the image as they are supposed to. In other words, I can look at the hero image at a mobile-intended breakpoint in a new tab and it will load the desktop version of the image but the url includes the string used for the mobile image style, which should mean the current image should be the swapped out mobile version as was specified in the "edit field" window during the setup process.
So, I'm very puzzled. If anyone can offer any advice it would be much appreciated!
I am having trouble finding out a good way how to add image support to a WYSIWYG editor such as Stack Overflow is using. I understand it is HTML, and when adding an image, an <img> tag with the link to the image is going to be created and added to the body. However, what if I would like the users to be able to upload(ideally paste/D&D) images from the file system.
I noticed that Stack Overflow is using an imgur widget for that, so I suppose the image will be uploaded to imgur and then the imgur link is going to be used. However, my usage is internally in a company and some of the images are confidential, therefore they should not leave the intranet.
I appreciate any help I can get :) Thanks in advance.
I am pretty new to Magento and I had a quick question.
I am struggling to understand how I can upload an image straight from my desktop to my website via the Magento backend without adding it to my FTP client first, and it still show up on other peoples computers when they access the website?
To elaborate on this, in the backend location System/Configuration/GENERAL/Design/HTML Head/Favicon Icon, to add the Favicon Icon you simply search your desktop for the image you want, were with other images, I have to add them to my FTP client first. Why is this and what happens if I were to delete the chosen Favicon Icon off my desktop, would the image still appear on my website?
Thanks
Short (only?) answer: Magento is fairly inconsistent when it comes to administering these specific files. Some options (favicon, email logo, logos for PDFs) can be uploaded directly via form input in System Configuration. Others (such as header logo) cannot.
If I were forced to explain the logic (though I'm not sure it's intentional): favicon, email logos, and PDF logo image assets are not subject to theme design factors such as element layout and CSS. Whereas this is the case though I would think that Magento would not provide the option to change the path for the header logo.