mercredi 18 février 2015

Linkedin Profile Picture Url Extension + Carrierwave

I've been searching for a way to construct an image from my LinkedIn profile picture and use the url with Carrierwave but it bugs out because of the missing extension in the LI url that gets retrieved.


Example of LI url: "http://ift.tt/1DsVSy4......." with no .jpeg .jpg .png


When I try to do user.remote_image_url = linkedin_url and proceed to do user.save it complains about the file type not being allowed which in this case would be ''


Anyone have any ideas as to how I can achieve this or if it's even possible?


Aucun commentaire:

Enregistrer un commentaire