-
- Mondane

-
Total Posts: 26
Joined: 2011-09-19
|
If you are running Magento 1.6.1, you are probably experiencing this:
http://www.magentocommerce.com/boards/viewthread/263751/#t357355
Or, if you are running Magento on a HTTPS URL with a self-signed certificate (ie, you have to add an exception to your browser before it lets you see the browser), this won’t work with the flash uploader. The uploader only works with HTTP or with a valid HTTPS certificate.
|
| |
-
- Posted: December 7 2011
-
| top
| # 31
-
|
 |
 |
 |
|
|
-
- lukefowell89

-
Total Posts: 3
Joined: 2011-10-11
|
Hi there,
I have been struggling with this issue for the last couple of days. I need as a matter of urgency to create a module to handle image uploads and management, i.e. a media gallery.
At the moment I have a section in the action which allows me to save the the details for a page in, but I need to be able to upload and edit images too.
Mondane, you posted some interesting information, however I do not follow it completely and it does not quite work with my current system.
I have a form which creates a row of an image uploading field, a couple of text fields for title, etc and sort order. I need to be able to store the image, and then save the url in the db. Any pointers? At the moment I don’t know how to retrieve files through magento, but I know that $_FILES is returning a blank array, even though I have multipart/form-data set correctly....
Can someone give me some pointers of how to access the uploaded image files?
Thanks
|
| |
-
- Posted: January 5 2012
-
| top
| # 32
-
|
 |
 |
 |
|
|
|
|
-
- AndreasRLC

-
Total Posts: 4
Joined: 2011-10-12
|
@Mondane
I\’m not sure I follow your guide when you write in step 1, add to the install / upgrade file.
Could you by any chance post a demo, where the code is distributed between their respective files?
Best regards
Andreas
|
| |
-
- Posted: January 27 2012
-
| top
| # 34
-
|
 |
 |
 |
|
|
-
- Mondane

-
Total Posts: 26
Joined: 2011-09-19
|
AndreasRLC - 27 January 2012 05:01 AM @Mondane
I\’m not sure I follow your guide when you write in step 1, add to the install / upgrade file.
Could you by any chance post a demo, where the code is distributed between their respective files?
Best regards
Andreas
The code in the attachment for step 1, lines 14-112, goes in ie /app/code/local/MyCompany/MyModule/setup/mymodule/install.php or /app/code/local/MyCompany/MyModule/setup/mymodule/upgrade-x-y.php
|
| |
-
- Posted: January 27 2012
-
| top
| # 35
-
|
 |
 |
 |
|
|
-
- AndreasRLC

-
Total Posts: 4
Joined: 2011-10-12
|
Thank you very much, I was unsure about the install part of the modules.
Still, I’m unable to get mine to work, it keeps giving a server error (without logging).
Could you by any chance post an example module, where the code is structured as it should to work?
Best regards
Andreas
|
| |
-
- Posted: February 1 2012
-
| top
| # 36
-
|
 |
 |
 |
|
|
-
- Mondane

-
Total Posts: 26
Joined: 2011-09-19
|
AndreasRLC - 01 February 2012 07:46 AM Thank you very much, I was unsure about the install part of the modules.
Still, I’m unable to get mine to work, it keeps giving a server error (without logging).
Could you by any chance post an example module, where the code is structured as it should to work?
Best regards
Andreas
I don’t have one right now. Can you post the server error, perhaps in /var/log/error.log ?
Edit [1 feb, 20:14 CET] Placed the code from my earlier attachment in the corresponding files. It’s not a working example, but perhaps it helps finding out your problem.
File Attachments
|
| |
-
- Posted: February 1 2012
-
| top
| # 37
-
|
 |
 |
 |
|
|
-
- AndreasRLC

-
Total Posts: 4
Joined: 2011-10-12
|
Thank you very much, you\\\’re being very helpful!
The module I\\\’m writing does not use tabs, so I\\\’m unsure how I display it through my module controller.
I don\\\’t suppose I could display the gallery through block creation? I\\\’ve tried but it gives an error.
I guess my question is: How do I display the widget in my layout?
Best regards
Andreas
|
| |
-
- Posted: February 3 2012
-
| top
| # 38
-
|
 |
 |
 |
|
|
|
|
-
- zaheerabbasbadi

-
Total Posts: 28
Joined: 2012-05-16
|
Hello anyone success with media uploader?if yes then please guide how to impliment media uploader in custom module.I had uploaded image successfully but don\\\’t know how to store uploaded image in DB and after uploaded images no message for succss and can\\\’t hide uploaded image div like at product page. Please help..
Image Attachments
Click thumbnail to see full-size image
|
| |
-
- Posted: October 8 2012
-
| top
| # 40
-
|
 |
 |
 |
|
|
-
- kads

-
Total Posts: 3
Joined: 2012-09-02
|
How can i add multiple images with the use of uploader class?
|
| |
|
 |
 |
 |
|
|
|
|