I developed an utility to import products from a web service which executes under a cron command. I have an issue with images, I don't know what I have to do with them, the service gives me an image url which I can download to my server and update in my prestashop database this product image, but it's not showing it, I guess I must run some Prestashop command or generate thumbnails or similar?
Thank you
Prestashop has a good documentation about handling image via webservice.
Have you checked this?
http://doc.prestashop.com/display/PS15/Chapter+9+-+Image+management
Related
I'm beginner of strapi, nodejs headless cms framework.
I've followed quick start guide of official document. I've created gatsby-blog and it works.
After setup, I've created new article with uploaded image, in the middle of article. (Not the image field in the Slug section) In the strapi admin page, I can find my new image in the media library list.
But when I open my strapi client in browser, the image is not shown. The source of image seems to the file path of backend server. I can find the image file on the backend/public/uploads folder. But it returns 404 error.
So, What am I missing of strapi setting? I've searched a lot but I can't find similar issue.
Make sure that the field is public in your Strapi admin dashboard.
Beyond that, it seems like the src tag in your screenshot has a relative url - if you are not hosting the backend on the same path as the frontend, I would suspect you have to prepend the backend base path :-)
I find many articles with multi-image and plugins:
https://github.com/blueimp/jQuery-File-Upload
https://pypi.python.org/pypi/django-multiuploader etc.
But I don't know how use it in django admin when I have ImageField. I want to do gallery.
Now I have inline adding image in albums. Please help me and give some full example :) (I'm newbie)
We use django-jfu to upload many files outside the admin.
Interfacing to the admin is certainly possible by creating a custom admin method to invoke jfu. Add a completion button to the jfu upload page that creates the desired db records when the user is done uploading files. These would then be available within the admin.
I have created a web application in PHP, Ajax, HTML5. It is ready and working perfectly. Now I want to integrate it with magento. In the application, when user clicks buy now an image is saved in a folder on the server.
I have just started using magento. There are two ways in my mind to implement the functionality,
Navigate the user from magento products page to my application page and when user clicks buy now button on my page it will be the add to cart functionality at the back end. And i will send the image name that is randomly generated and append it into the comments of product that admin can see.
Make my app a magento custom plugin. Add my HTML, css, js, php files within magento and use my app as an internal magento application.
So, i need suggestions, comments, ideas or anything that can help me.
As I have just started with magento and I don't have any experience with e-commerce. So, my question might be showing in experience.
Try to learn Magento API it can be integrated with all your apps.
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.
Unfortunately no exists a component that do it. Only if i insert images in the article. I need to create a php script on joomla that resample images upload from users on frontend during upload process. Someone could tell me how build this script and where i have to insert it?
Thanks
Which component you are using for this functionality. Are you using any existing joomla component or you are creating it by your own.
If you are creating your component, add the script which is mentioned in the link below
http://www.9lessons.info/2009/03/upload-and-resize-image-with-php.html