Solved

pdf file wont fit on website using bootstrap

Posted on 2016-08-12
10
52 Views
Last Modified: 2016-08-15
Hi, my daughter has been updating one of our club's website and as the schedule has gotten bigger it came to a point just recently that the pdf is showing in the website but its really small so cant read the information on the schedule.  We take the excel spreadsheet and enter in the data then save it as a pdf which we then upload to the website on hostgator  hosting site.  She uses bootstrap which i am not at  all familiar.  Any ideas?
0
Comment
Question by:dankyle67
  • 5
  • 3
  • 2
10 Comments
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41754885
Bootstrap does not affect the display of a PDF which is usually shown on its own page.

Can you give us some indication of how the PDF is being displayed - do you have a link?
0
 

Author Comment

by:dankyle67
ID: 41754913
0
 
LVL 10

Assisted Solution

by:Prasadh Baapaat
Prasadh Baapaat earned 175 total points
ID: 41755418
Hello  Dan,
something is missing here...

I checked the link and the POY displayed is a PNG IMAGE and not a PDF... the size of the image is 612px × 792px...

it will be displayed small and unreadable as the size is small... you can try exporting the png in a bigger size..

so now the question is, do you want to display a PDF or an Image.

thanks,
Prasadh
0
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41755428
Further to Prasadh's post - you might want to look at producing an actual PDF (Adobe Acrobat Portable Document Format) and have a link to that. The document will open in a new page and you will be able to zoom in on it, print it etc.

Either that or you need to produce a higher resolution PNG file (image) that can be viewed at full resolution.

As things stand there is nothing we can do to assist you with the current page as the file is an image file and the resolution is far to low to be able to read anything.
0
 

Author Comment

by:dankyle67
ID: 41755816
I asked my daughter about it and she said when i send it to her as a pdf she changes it to a png to optimize it for the site but she said she will try to do it as a pdf but some people will not be able to view it properly depending on their browser does that sound right?  So you are both saying that if she uploads it as  pdf instead of a png that users will be able to zoom in and out of the pdf for better viewing options?
0
 
LVL 54

Accepted Solution

by:
Julian Hansen earned 325 total points
ID: 41755949
The PDF will be a link - you can keep the png but make it a link to the PDF document that opens in a new window - something like this
<a href="2016-POY-Mansion-Ridge-Tour-16.pdf" target="_blank"><img width="612 px" height="792 px" alt="POY" src="2016-POY-Mansion-Ridge-Tour-16.png"></a>

Open in new window

This will display the image and open the PDF in a new window.

As to people not being able to read the PDF
1. PDF readers are free and readily available
2. Most people who use the internet are familiar with PDF's and how to read them
3. In its current state you can't read the information anyway

If you are really concerned about the PDF reader issue you can always include the following under the link
<p>You will need a PDF reader to view this document. You can download one free here <a href="https://get.adobe.com/reader/" target="_blank">Adobe Acrobat Reader</a>

Open in new window

0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41755955
I have put together a sample here that demonstrates the concept.
0
 
LVL 10

Expert Comment

by:Prasadh Baapaat
ID: 41755992
using a PDF is a correct option as Hansen Said
0
 

Author Comment

by:dankyle67
ID: 41757054
it worked!  thanks guys for the help and guidance.
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41757378
You are welcome.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question