https://antibiotiqueaugmentin.com/surdosage-augmentin-bebe/

Display member photo

  • gvannauw
  • gvannauw's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
7 years 1 month ago #2630

Hello
I would like to display a photo of our members with Cardview. In the database table I store the link to the folder in which the photo resides, i.e.

/images/fotos/leden/kareldhondt.png

when I select link, it only shows the link above, not the photo. I know that, using php, this can be done, but I don't know how I can get this to work with CardView. I suspect the coding needs to be adjusted for this?

Can someone please advise?

Tnx

Please Log in or Create an account to join the conversation.

  • gvannauw
  • gvannauw's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
7 years 1 month ago #2632

I in the meantime got it working ... sort of.. by applying following <img src="images/fotos/leden/kareldhondt.png"> which I found in another post. But .... I now see that, when going to another page, the photos are NOT displayed ?? It only seems to work if you are on the initial page. Moving to another page (I have 5 photos in a row and 3 rows on a page) makes the link not to work anymore ......)

Please Log in or Create an account to join the conversation.

More
7 years 1 month ago #2635

Hi,

I am glad to hear that you made it work. Try to use absolute path:

http://www.mypage.com/images/fotos/leden/kareldhondt.png

Regards

Last edit: 7 years 1 month ago by tomaz.

Please Log in or Create an account to join the conversation.

Moderators: tomaz
Time to create page: 0.150 seconds

Contact Us

Contact us on Facebook