Jump to content

Recommended Posts

Posted

hello, how is the correct way to view the images in my airline awards, because I have added several images in my awards but only you can see letters, but the images do not appear.

can someone guide me about this please?

Posted

thanks for answer me

can you tell me the correct folder where I upload the images of the awards? and how to find the folder

There is no folder defined for it, in fact you can have the award image anywhere on the internet because on the award definition page you specify the URL.

However, for the sake of having everything together I opted for hosting the image within phpVMS. There is no award images folder so I created the 'awards' folder under /lib/images, that is /lib/images/awards/ put the images there. When you define an award in the URL text field simply put something like /lib/images/awards/MYAWARD.jpg just replace "MYAWARD.jpg" with the actual name of your award image. Keep them all of the same size. Also remember that if you are hosting phpVMS on Linux/Unix then the file name is case sensitive, on Windows hosts it is not.

  • Like 1
Posted

thanks for your desire to help me in this little problem, but hey, you tried everything I have explained, and it still does not work.

only shows the name of the image, but no picture.

in my control panel when I add the link of the image, if I see the image, but the page you can only see the name of the image.

This is not the problem.

  • Administrators
Posted

In the award images field when you set the award up try using the absolute path to the image. Something like ->

http://www.yoursite.com/yourimagefolder/yourawardimage.jpg

Using relative links in the control panel will not always work in all parts of the system depending on how your file tree is structured.

  • Like 1
  • Administrators
Posted

yes, I can see the image for link olso in my control panel, but is not working in the adwards

If it showing up in the admin panel then it is not an issue with the path, it has to be something in the template then, which one are you working in? pilot_public_profile.tpl I imagine.

make sure your image code looks something like this ->

<img src="<?php echo $award->image; ?>" alt="<?php echo $award->descrip; ?>" />

You can also do a

<?php print_r($allawards); ?>

to make sure the [image] field is filled.

  • Like 1

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...