Can someone please explain me what is the procedure of getting a picture to a product in the WCMS?
What am I missing?
I'm uploading the file, attaching media format to it, but as soon as go to the website and check the product there is no image but "image coming soon" ...
You might want to be more specific about which image you're talking about, which image format, and where exactly it is that you're checking your product's image afterwards. Also which version of hybris you're using.
But there are a couple of things you could try:
Make sure that the Product and the Medias have been synchronised to the online catalog;
If it's an image from the galleryImages, make sure that the media container in the gallery has also been synchronised;
You might also want to clear your hybris cache. Go to HAC - Monitoring - Cache - Clear Cache; Or clear other caches, such as JAWR or Varnish.
Are you sure you mean WCMS and not the product cockpit?
Related
I have a MediaWiki installation that I recently upgraded from 1.21 to 1.27 and where I use img_auth.php.
One of the issues that happened is the fact that images stopped displaying. I am getting a 403 forbidden code when opening.
These images exist, I checked and I was able to discover that this is due to the fact that these images are not present in the database images table. When I insert them manually, they display.
This leads me to 2 hypotheses:
MediaWiki policy regarding images changed and it's now stricter requiring all images to be in the images table.
Some configuration actually changed and I need to update it to get images displaying again. (I didn't do the initial config for this installation.)
Something else?
What can be the cause of such behaviour?
There were multiple changes between img_auth.php in 1.21 and in 1.27.
If adding files to the image table makes them work again, maybe the fileExists() check is the culprit. Which code is involved depends on your $wgFileBackends etc. configuration, which you should add to your question. You may want to add a wfDebugLog() line at that point to get more information.
Anyway, if the only solution found is to add the images to the image table you can add them all with php maintenance/importImages.php /path/to/images/directory, see https://www.mediawiki.org/wiki/Manual:ImportImages.php .
Hi Everyone i am seek your expertise. I am working on a magento store and am wanting to add a banner to my product page like the image attached. This banner needs to be different on each product page so am wanting a way that i can either browse my computer for the image or add a url to the image location. I am thinking i need to create an attribute and then under Admin > Catalog > Manager Product > Images list i will be able to pull in the banner just like adding a new image product. Is this the correct way of doing it and if so, how can i specify on my template where the banner will be added (i.e at the top of the page). I have tryed to find some code where i can add so it knows that when i have this attribute to put it in that location. Any help would be much appreciated
Thanks
Ali
Sorry without the actual code there is not much help you will get. But this is an idea you can use:
Yes your thinking it correctly. Although a more elegant way to do this would be by adding an option in the image grid as (banner). This will allow you to use the power of existing image processing and handling systems in magento.
Once this is done; simply add the code in template file for product view page (I am not sure whether this is a enterprise or community version or you are using a theme. It's best to enable the developer debugger option to view the template file path).
In terms of adding this code this should be fairly simple. You just need to check any image has been flagged as "banner" or not. Then do some resize to fit in the page and it should work.
Hi you can simply create a one new attribute for a product using for banner image and you can use that attribute on product view page, and the banner will be display on product page according to each banner attribute value specify in the admin. This will be very simple in use.
I am new to magento so basically unable to figure out a solution for a current problem at hand. We have an eCommerce store built on top of magento. Now, we need to have a form in which the user can fill in some details and upload their image. How can this be effectively done in magento.
As of now, I am thinking of having a form page with upload php script and then save the details in CSV text file. Is this the right way to go for it. Also, we might need to add this information as a customer and use it later.
Actually we are starting a monthly item delivery system for which we need to have customers information and photo. Just throw some light on the issue and let me know how to go about it. Thanks
Check the below link, it show how to upload and saved a image in Magento.
http://blog.decryptweb.com/file-upload-magento/
I am trying to figure out why the tinyMCE WYSIWYG editor in the CMS module of Magento will not upload images. I can create/delete folders but any file will simply not get uploaded, and there seems to be no message as to why the file is not successfully written on the server.
Anyone may have an idea why?
** Update **
I'm using Magento 1.6.2. I have tried to track down the problem and it seems that the controller never gets executed. I have added a line to log the arguments in the uploadAction() action (in Mage_Adminhtml_Cms_Wysiwyg_ImagesController) and nothing gets logged.
This is project inherited from someone else, and was modified to some extend, but nothing seems to point out that this part of Magento would have been touched in anyway by the modifications.
** EDIT**
The project associated with this question has been dropped and I no longer can provide an answer to this question. If anyone can confirm a working answer (as this problem was apparantly common with Magento), I will gladly mark that answer as "accepted".
Otherwise, I will flag this question for removal for the aformentioned reasons.
Thank you.
Other than solutions provided here, it may occur when you use a CDN (or a different domain) for your javascript and media files in admin panel. If you use CDN, use it for your website(s) scope and use your own domain for default scope. It will make your website(s) media and javascript files to be loaded from CDN, and backend's media and javascript files to be loaded from your own domain. This will solve your problem.
There are some known issues with flash image uploader on Magento. Unfortunately when it falls, it falls silently. Here are some cases when smth can break it:
if you try to use it with secured connection using open ssl certificate
if you're using it on server with apache authentication
on some Magento versions with prototype 1.7
I think the latter is your best bet. Maybe you should try to apply the patch from here: http://www.magentocommerce.com/boards/viewthread/4348/P45/#t327010
In my case it was a cross domain problem, and one quite hard to find if you ask me...
What was puzzling me was that the uploader for product images was working like a charm but the one in the CMS section was failing completely silently. We are serving the skin folder from an Amazon S3 bucket, and the flash uploader lives under that folder.
Interestingly enough, our version of Magento (1.7.0.2) is using two different methods to calculate the path to the SWF file, depending whether you are under CMS or Product update.
The CMS file (app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml) is using the following method to embed the Flash Uploader:
<?php echo $this->getSkinUrl('media/uploader.swf') ?>
While the Product image uploader is using:
<?php echo $this->getUploaderUrl('media/uploader.swf') ?>
In our case, the first one resolves to the AWS S3 url, obviously in a separate domain, while the second one will still reference the local domain's url.
So yeah, the quick, dirty fix would be to replace getSkinUrl for getUploaderUrl in app/design/adminhtml/default/default/template/cms/browser/content/uploader.phtml. Alternatively you can extend the core to load a different template in which you would have replaced that method.
I hope this helps somebody... I wish I had found something like this five days ago when I first stumbled upon the issue :-)
Are you using flash uploader with https? If so, is your secure address in differente domain (usually used in shareds ssl)?
I got some trouble with this. I solved by installing a flash uploader disabler plugin.
You can download the plugin with this downloader key:
http://connect20.magentocommerce.com/community/Dull_Uploader
I hope it helps.
I don't want to create templates for all transactional emails but I would like to replace the default Magento logo used for emails.
I know that I can go into the base directory and replace it, but if I upgrade the system it will wipe it out. Does anyone know the proper way to change it?
Another correct way to do that is to go in BackEnd to System>>Configuration>>Design>>Transactional Emails>>Logo Image
and easily pick your logo image from there.
GL.
You can create a new theme and place it there. This isn't as difficult as it sounds because of the way themes fall back onto defaults in Magento. If Magento can't find something in your theme, it will fall back onto the base theme by looking in the default folder.
For example, in a store that I maintain, I uploaded my own version of the e-mail logo image in
/skin/frontend/{package}/{my-theme-name}/images/logo_email.gif
and in the Administration panel, I went to System > Configuration > Design > Themes and set Default to {my-theme-name}.
Why does this work?
In the e-mail templates, Magento specifies the src of the logo image as {{skin url="images/logo_email.gif" _area='frontend'}}. This is Magento template gibberish for "find the images/logo_email.gif in the frontend area of the current theme." So Magento looks in for /frontend/{package}/{my-theme-name}/images/logo_email.gif, finds it, and uses that path when dishing out the HTML.
If you delete your image, it doesn't break! Instead, although Magento would still first search in your theme directory as described above, it would discover that it doesn't exist and fall back onto the one in /frontend/{package}/default/images/logo_email.gif.
Good luck, and hope this helps!
The best answer for handling logos in transactional emails is a combination of the previous answers.
Select the logo for your transactional emails by going here: System -> Configuration -> Design -> Transactional Emails -> Logo Image
Then, in your transactional emails ensure that they reference: {{var logo_url}} for the url of the logo.
I upgraded from an older version of Magento and it had {{skin url="images/logo_email.gif" _area='frontend'}} for the logo url. This older method referenced the logo_email.gif stuck in the default image folder.
For magento 1.9, if you want to change transactional mails' logo for all templates follow this:
System -> Configuration -> Design -> Transactional Emails -> Logo Image
In Magento 1.7.0.2 < use {{var logo_url}} instead of {{skin url="images/logo_email.gif" _area='frontend'}}
Sometimes the email client will keep a cached version of the image.
I was viewing the correct image in the browser by copying the url from the email source code, but still Mail on Mac Os was displaying the demo store logo...