insomnix Reply #1, 3 months, 3 weeks ago
I am working on a gallery addon for Revo. I don't mean an extension of the current Gallery, but a new one from the ground up. Don't get me wrong, I like Gallery from an administration standpoint. However, it lacks a user front end to build and manage galleries in a way that I like for a user. Thus is born UserGalleries.
I've done fairly well on this so far, getting it integrated into my addon. I have run tests using the default php thumbnail creation, I have done some testing with imagemagick that is looking good, and I can upload to the folders I choose.
And now the brick wall...
Lets assume for this exercise that my class looks exactly like the one in the blueimp development folder ( https://github.com/blueimp/jQuery-File-Upload/tree/master/php ). The class works fine when I drop it in my assets folder and connect to it to do the uploads. Now, I've worked on this off and on all day trying to get this class to work from the processors folder in the core through a connector file. Am I spinning my wheels? Can I not process the upload through a connector to the processor's folder? I know this is asking a lot, but if it can be done, what might that look like?
Next question, I want to store the original image files in the addon's core/components folder, and the re-sampled images in the assets/components folder. I don't see any issues, does anyone else see any potential problems here?
I've done fairly well on this so far, getting it integrated into my addon. I have run tests using the default php thumbnail creation, I have done some testing with imagemagick that is looking good, and I can upload to the folders I choose.
And now the brick wall...
Lets assume for this exercise that my class looks exactly like the one in the blueimp development folder ( https://github.com/blueimp/jQuery-File-Upload/tree/master/php ). The class works fine when I drop it in my assets folder and connect to it to do the uploads. Now, I've worked on this off and on all day trying to get this class to work from the processors folder in the core through a connector file. Am I spinning my wheels? Can I not process the upload through a connector to the processor's folder? I know this is asking a lot, but if it can be done, what might that look like?
Next question, I want to store the original image files in the addon's core/components folder, and the re-sampled images in the assets/components folder. I don't see any issues, does anyone else see any potential problems here?