I use the Embed-Button from Instagram and use the generated Embed-Code:
when I embed an Insta-Post on my website without image caption, it doesn't load the image.
But when I check the the inclusion for image caption it works fine: codepen.io/cheshirecat/pen/eYjrYZr
What I'am doing wrong?
Related
I want to get the url of img from website with flutter. But when I use .attributes['src']for getting the image url, I get the loading svg. is there any way to get the image url not the loading svg??
I am creating a portfolio using GitHub static pages and I want to display some images of projects completed and finding it difficult to do that. I know the syntax for image display but what I do not seem to get here is where to place image on GitHub and use the path to display it.
syntax for image display
![Alternate image text](image source here)
I want to load image in card view with other data like title and desc.
I am uaing php to get result as json response which is working and also i am able to set data to textview and pass from one activity to other !
Only problem i am facing is in setting image in image view.
i can add image manually by making listview obj and storing link in ArrayList obj
Like obj.add(R.drawable.feature1.jpg)
How to do it dynamically from the json response i am getting ?
Sorry if i sound confusing as i am new to android and just want to make a image gallery where first i will display list of albums and after clicking one of albums all images from that albums are loaded and displayed.
{"products":[{"mid":"1","title":"Demo Video 1","link":"https:\/\/m.youtube.com\/watch?v=PCwjNfSM-U","mediaCreatedOn":"2015-08-30 18:59:18","mediaUpdatedOn":"0000-00-00 00:00:00"},{"mid":"2","title":"Demo Video 1","link":"https:\/\/www.youtube.com\/","mediaCreatedOn":"2015-08-30 18:59:18","mediaUpdatedOn":"0000-00-00 00:00:00"}],"success":1}
The above is the output from server side where only the youtube link is replaced by server img location.
Thank you for reading, have a nice day ahead :)
1:You can store image to database Example:mysite.com/img/34324234342.png (phpMysql)
2:And you can get image from php rest service (Only image link)
3:For load image from link , you can use picasso library (android)
4:If you want image with text, you can use custom listview
Example xml for restful service.
<myimage>
<title>abc</title>
<ipath>mysite.com/img/34324234342.png</ipath>
</myimage>
I want to publish image from UIImage to Facebook however this code needs imageURL. How?
(void) publishFeedWithName:(NSString*)name
captionText:(NSString*)caption
imageurl:(NSString*)url
linkurl:(NSString*)href
userMessagePrompt:(NSString*)prompt
actionLabel:(NSString*)label
actionText:(NSString*)text
actionLink:(NSString*)link
targetId:(NSString*)target{
[self postFeedWithName:name
captionText:caption
imageurl:url
linkurl:href
userMessagePrompt:prompt
actionLabel:label
actionText:text
actionLink:link
targetId:target];
}
First you need to get the image as a JPG or other transmittable file image. That can be done with UIImageJPEGRepresentation as described about halfway down here: https://stackoverflow.com/questions/1282830/uiimagepickercontroller-uiimage-memory-and-more
I don't have access right now to the box where I have the Facebook SDK installed and the example app that can upload an image, so I can't tell you the details of how to do that at present. But the Facebook SDK example package shows you how to do it.
I tried To Parse the response of the of the youtube RSS feed and displayed it in tableview...
I works fine except i can't fetch URL for the thumbnil image of the video from rss... It comes in description tag and inside description tag there is a whole div (html)... is there any simpler way example tutorial.....to fetch the thumbnil image from youtube rss...
Thanks
i have the same prob ,but have figured out with YOUtube API ,
make your feed url in this pattern
http://gdata.youtube.com/feeds/base/users/[INSERT USERNAME]/uploads
after in the generated xml there is a media:thumnail tag where u can used to display youtube thumnails images.
without using this format u will get a descr tag with div style image thumbnail quite hard to parse as it is a html part,
better try this,i have solved this using type of feed pattern