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!
Related
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.
As requested in this thread on our.umbraco, i want to create a new property editor, that allows for the content editor to select an image both from their local hard-drive and the media archive, to then be cropped right in the content section. Basically combining two already existing property editors.
This image gives a general idea about what i want to achieve:
http://i.imgur.com/DAqyKeT.png
Right now it is possible to use the image cropper on the images in the media section, but it would be more user friendly to have this functionality in the content section.
I am quite new to Umbraco and creating custom property editors, but I would like to know if this is possible.
Images not visible when the same Tableau dashboard is viewed in different systems. Instead of the image, Cross marks are coming. The images are created as different sheets and have actions applied on them. Can anyone please inform how can we fix it?
Basically,
I want to create a link on the dashboard clicking which I will be directed to Another Sheet/Dashboard. So, I put an image and added Action to it, clicking this image you will be directed from the present dashboard to the other Dashboard. But the problem is the Image is visible in my workbook but when I'm sending this file to some other people, some of them are observing a "Cross" mark instead of the Image, but the action is working fine. I tried both tableau 8.0 & 8.1.It's persisting in both
If you are using tableau public keep this in mind:
Tableau Public won't let you add an image file from the web. URLs can
be used to create links within a dashboard, but they cannot be used as
a file source. For an image, you would need to link to a physical file
location, not a URL. (See post)
If you are using tableau desktop and custom shapes, the problem might be that the other people viewing the dashboard do not have access to the file that contains the shape. I am guessing that you might need to share those files with them or go back to using a built in shape.
See more here: http://onlinehelp.tableausoftware.com/v6.1/public/online/en-us/i1114815.html
To create custom shapes:
Create your shape image files. Each shape should be saved as its own
file and can be in many image formats including bitmap (.bmp),
portable network graphic (.png), JPEG, graphics interchange format
(.gif), and so on.
Place the shapes into the My Tableau Repository folder located in your
Documents folder. The shapes should be put into a new folder inside
the Shapes folder. The name of the folder will be used as the name of
the palette in Tableau.
There is a facebook logo in the frontend design of my site above the header. I want to replace the it with a different colour facebook image. All i did was go to "skin/frontend/default/template_name/images/" and replace the old image with the new one with the same name. But still, the old image is displayed. Please help?????
Rather simple:
make a right click on a image and open image in new tab or inspect the source adress of this image
replace the image on the url that it is really displayed
clear your browser cache if the image still does not change
I'm designing an e-mail template for a company and it tests great in everything besides Outlook. For some reason the bottom images of the email look like they're loading half way and then stop. I've found information online that Outlook won't load images with a height greater than 1728px, but the tallest image we have is much shorter than that. There are images beyond 1728px on the page that are loading just fine, so I'm not sure that's the issue. Does anyone have any experience with this? Any advice would be helpful.
Hi Here is a quick solution for this to be done in the outlook.
Use photoshop and follow this steps:
Once the design is over, slice up the image parts / height(1728px as per yout example).
Save this as, File->Save for web and device. click save. you will get option under save box
Under format change this to HTML and image from drop down.
Save them in one folder. A new HTML file and image file will be created in this folder.
Open this HTML file in a browser.
Just copy and paste the content in the outlook using a single cell table.
That's you are done. Now your image will load without any problem.