Jump to content

Working on code for charts


Strider

Recommended Posts

I am working on code to get the charts for the airports your VA arrives and departs from working, so you can always have in the schedule pilot brief a dep and arr charts.

http://malaysiava.org/index.php/schedules/brief/91

Take a look there, the code is simple.

<img border="0" src="<?php echo SITE_URL ?>/lib/images/charts/<?php echo $schedule->depicao?>.png"
   		 width="387px" height="594px" alt="No chart available" /> 
<img border="0" src="<?php echo SITE_URL ?>/lib/images/charts/<?php echo $schedule->arricao?>.png"
   		 width="387px" height="594px" alt="No chart available" />  

All that is required is for you to create a folder in the lib>images called charts, and get the charts, take screenshots and resize and save them as PNG's, make sure the name of the png is the airport code, and in all capitals. I will try and get all airport charts done, and make it into a release. This would be better then seeing the no charts available.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...