Post by developer2@webindia » Fri Jan 18, 2019 3:27 pm

Hi all. I am building a web store for book selling. I need to show preview of the book before customer purchases
(like amazon https://www.amazon.in/Wings-Fire-Autobi ... ywords=apj ) .
Preview should be pop up when user clicks on the product images. I tried many ways. but not works.
please help.
I fecth the file name from the db. But I can't access the file with file name. Download folder located out side the public_html directory. Hope you guys understand my problem. Thank you


Posts

Joined
Wed Jan 16, 2019 8:24 pm

Post by paulfeakins » Fri Jan 18, 2019 8:58 pm

You mean the ability to read a few pages of the book?

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by developer2@webindia » Sat Jan 19, 2019 1:39 pm

paulfeakins wrote:
Fri Jan 18, 2019 8:58 pm
You mean the ability to read a few pages of the book?
No sir, The whole pdf. I need to display the whole pdf content


Posts

Joined
Wed Jan 16, 2019 8:24 pm

Post by paulfeakins » Thu Feb 21, 2019 4:29 am

Well just link to it and the browser will handle it.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Thu Feb 21, 2019 10:32 pm

Take note that by simply linking it on the browser, Adobe Reader (minimum) must be installed on the client's device.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: Bing [Bot], dparakhiya, julianashcroft and 421 guests