Home › Support › Image Store › PDF Download?
-
AuthorPosts
-
May 15, 2012 at 4:39 pm #47091SteveParticipant
Hi. A client of mine would like to offer a PDF ebook she created for download. I’m not sure if image store allows PDF. I uploaded the PDF as part of a gallery the same as I would an image and set the price list to one I created with download checked.
A product was created and I seem to be able to add it to the shopping cart fine. No thumbnail exists though. I assume it’s because one couldn’t be created for the PDF.
Is there a way to make this work? Can a PDF be used as a product for download?
Thanks
May 15, 2012 at 10:07 pm #47106Xpark MediaKeymasterno, not really there a lot fo modifications that you need to make to make it work, I think another ecommerce plugin will be more suitable
May 16, 2012 at 9:34 am #47118SteveParticipantThanks Hax. I had a feeling it wasn’t going to be possible. I have another cart plugin that can handle the PDF download, but since were using Image Store for lots of images across the site, I’d hoped we could use it here too.
Would you mind pointing me to what modifications I could make to get this to work, just in case my client insists we use the same cart for everything?
By the way Image Store is a great plugin. It solved so many problems and I know I’ll be using it again. If you do plan on adding an ability to download things other than images, I would think giving people a way to add a custom URL for the download would be a good approach. That way we could upload an image to the gallery and on purchase point customers to other media.
Thanks again.
May 18, 2012 at 2:01 am #47146Xpark MediaKeymasterSteve,
Here a list of the items needed to support PDF.
– Modify the file types allow.
– Modify the image/file upload and download script
– File sizes and pricing, pdf don’t need file dimensions.
– Image links for previewa good alternative will be to add a file download field to each image that way you can still just upload a image but when the user downloads the file it down load a pdf instead of the image.
June 4, 2012 at 3:55 pm #47639SteveParticipantThanks Hax. Sorry it took me so long to respond. I think adding the file download field will be the better option. Bear with me. I’m not a plugin developer, though I’m capable of hacking an existing plugin to make it do some things differently.
Would you mind helping me through this a little more. Mainly pointing me toward which files will need updating? I found admin/download.php, which I assume is where I’d need to make a change so the download would read from the new custom URL. I also found _inc/gallery.php which looks like where I add the custom file download field.
Am I right about those 2 files and what others, if any, might I need to change? I hope I’m not asking too much.
Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.