image - Reference ParseFiles stored in Parse via URL -


i'm working on ios , android app sends email contains 2 images. doesn't attach images email, rather links them via url using src property of img tag in email's html content. know if can use parse store images , reference urls parsefiles in email.

my questions are:

  • do add image database in new class, or there separate location public assets? (if not can url clicking on file opens in new tab in browser.)
  • is url guaranteed never change long image never changes? (if not i'd need use query fetch images parse url.)
  • does visiting url example in web browser count request parse keeps track pricing purposes?

piece of email render image:

<a href="" style="display: block; border-style: none !important; border: 0 !important;"><img width="186px" border="0" style="display: block; width: 186px;" src=\"http://url_to_photo_needs_to_go_here.png" alt=\"logo\"></a> 

you sure can. every pffile object includes url property can use directly access file.

simply grab url property , insert html email.

for reference: pffile class reference ios (available other sdk flavors too)


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -