I am currently working on a project that has decided to incorporate Image Gallery from DevExpress MVC. Previously when put into the page, we had an bug come up where if the SettingsFullscreenViewer.Visible was set true, you could not upload. However, once turned to false, we could upload and do whatever on development.
We pushed to our testing site and discovered now we get the following error: "Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper.'" It only fires when there is an image within the Image Gallery for that particular item. The thumbnails of the image just sit there and spin.
I am somewhat at a loss and was curious if anyone else has had issues with this control also.
I figured out the issue. The issue was that my ImageCacheFolder was trying to create itself but did not have permissions. Once I added permissions to the particular folder I had for uploads, the issue went away.
Related
I am in the process of integrating the Image2 (enhanced image) plugin into my CkEditor.
My use case for this plugin is for allowing users to upload images from local machines to the server.
So far so good, but the default upload process of this plugin has some steps I would like to be able to skip.
For instance, whenever I click the Image button in the editor's toolbar, I'd like the uploader to automatically open the file browser instead of just popping up the standard file managed dialog.
Also, I would like for the upload process to be automatically started whenever the user choodses the image to upload (by default, the plugin requires a click on the "Upload it"/"Send it to the server" button). Actually, I would like to remove the "Upload it"/"Send it to the server" button entirely.
Last but not least, I'd like the dialog to close automatically whenever an image is successfully uploaded.
Feels like almost a no-brainer to me, but I could not find anyone that actually managed to solve this situation, despite the fact that this kind of question has been asked many times around the net in recent years.
Can someone point me in the right direction? thank you.
I updated my website theme and just a week back backend admin product image upload functionality completely stopped working. I am not able to view or upload images at all. I have checked the permissions made changes to Uploader.php in lib it goes up to tmp folder but doesnot upload. my Magento version is mentioned. I tried disabling modules. Adding Dull uploader / Maven HTML5 Uploader none of which seems to work. I have gone through most questions on Stack but no solution seems to work. Any help pointing me towards a good solution is appreciated
it seems that the theme update may be causing this issue.
First thing you can try is changing the theme to magento's default theme.
If this is not helping, you can try going into the image upload page in magento backend and inspect the page, see if there are any error messages.If this isn't helping you can try contacting the theme's support team to help you, or ask them for older version of the theme so you revert it.
In magneto when i create the new products. I cant upload the product image. That page shows error like this
"Image type and information need to be specified for each store view. "
I cleared the Cache Storage but i also face this issue. Please help to solve this issue
I fixed problem below. I found solution from google.
Go chrome settings,
chrome://settings/content
Content settings flash
Choose Allow sites
This solution fixed my problem.
Usually this problem is browser based (corrupted flash player plugin)
Checklist suggested for it:
Check in another browser, if it is working try to reset the browser where it is giving problem.
missing /media directory or if /media directory has no write permission.
prototype js version is also causes this but rarely. (Only when you are doing up gradation or installing incompatible magento extension)
Let me know which one is working for you.
If you can’t upload images for a product in your admin section of magento it may have something to do with your flash plugin in your browser.Please disable Flash in your browser.
Use Magento HTML5 Uploader Extension. Extension link is below: https://marketplace.magento.com/mavenecommerce-html5-uploader.html
Just add those tags in layout file you can find solution here fixed
I'm using two great modules for Silverstripe 3 but there is a conflict somewhere which I can't work out. I've asked the developers but they have not found the solution yet.
Modules:
FocusPoint which allows you to choose where the image crops from. Great!
https://github.com/jonom/silverstripe-focuspoint
Gallery, popular gallery module.
https://github.com/frankmullenger/silverstripe-gallery
Both work fine. But Focus points do not "save" within the gallery section of a Gallery page. You can edit and choose the focus point but after saving it snaps back to the previous position. You can alter the focus point in the Files tab of the CMS so it must be how Gallery saves each image.
I have updated the template to CroppedFocusedImage but this is not a template issue.
It would be a very helpful addition.
Can you please provide some details of failure? Do you see any warning or error messages if you run in dev mode? Any small black error box on left-top when you save?
If FocusPoint module does not work, you can have a look at folder permissions or maybe any PHP libraries like ImageMagick, GD support etc. Maybe you you changed something during upgrade?
If both modules work individually, but the problem is cropped image is not saved in correct directory, it is another issue although it could still be permission issue.
You can set which folder it needs to save into, same as how you set in normal UploadField. But it wouldn't change just because of your upgrade.
For anyone looking for the answer it has been resolved here: https://github.com/frankmullenger/silverstripe-gallery/pull/23
Had a question about how to make image saving easier with kineticJS, which has, by the way, proved to be an awesome framework. With it, I created this app that enables teachers in our prof dev courses to create a classroom map and save it as an image:
http://courses.edtechleaders.org/html_cores/trainingcores/multimedia/classroom_app/
The issue is that a lot of teachers run into problems when the new window containing the image opens up. Some end up having the window blocked, saving the wrong file, or not being able to find the file. I was wondering if there was a way to have a file reference window open (or a save button appear) so that the user could save the image to his/her local machine with a click, without having to deal with a pop-up. I tried working in some code from here -
http://greenethumb.com/article/1429/user-friendly-image-saving-from-the-canvas/
But I kept getting 'file not found' messages on the PHP files that I set up and other cryptic error messages. So I'm looking for a solution that we know meshes well with kineticJS (and hopefully uses minimal to no php.) Any help would be greatly appreciated!
Thanks!
Nevin
These days, popup is not recommended and not supported by many browsers.
Furthermore, you cannot pick a location to save your image on your client machine. This is a big security issue.
Think about this, if you click this link, save a password program on users' machine. serious, right? Instead, I would recommend the following steps.
add a hidden dialog div at the end of your html, or anywhere
<div id="popup"></div>
create an image and add to this popup, then show it up using JQuery UI.
stage.toDataURL({
callback: function (dataUrl) {
$("#popup").html( $("<img />").attr("src", dataUrl) );
$("#popup").append("To save image, right-click, Save Image As");
$("#popup").dialog();
},
mimeType: 'image/png',
quality: 1
});
I did not tested the above, but from my experience, it should work.