photo

How do I retrieve photos from a Facebook group using the GraphAPI?

不问归期 提交于 2019-12-04 08:05:31
问题 I would like to retrieve photos from a facebook group using the GraphAPI. Based on FB Docs I don't see any connections to photos. I would like to get the photos and the users who uploaded them. 回答1: Graph API: http://graph.facebook.com/GROUP_ID/?fields=name,description, albums return { "name": "Group name", "description": "Group description", "id": "GROUP_ID", "albums": { "data": [ { "id": "GROUP_ALBUM_ID", "name": "GROUP_ALBUM_NAME", "link": "GROUP_ALBUM_LINK", "created": 1352388257,

iPhone iOS how to extract photo metadata and geotagging info from a camera roll image? [duplicate]

﹥>﹥吖頭↗ 提交于 2019-12-04 08:01:02
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: How Do I Get The Correct Latitude and Longitude From An Uploaded iPhone Photo? I'm making a photo app and would like to know what are my options for working with geotagged photos. I would like to display where a photo has been taken (similar to photos app). Is this possible? Additionally, I need to know when the picture has been taken . I can capture this info for the pictures that I take myself, but what about

Getting images from folder with for jQuery slideshow

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 02:20:02
问题 My Jquery slideshow script looks like that $(function() { $('#bg').crossSlide({ sleep: 3, shuffle: true, fade: 1 }, [ { src: 'core/design/images/bgs/1.jpg'}, { src: 'core/design/images/bgs/2.jpg'}, { src: 'core/design/images/bgs/3.jpg'}, { src: 'core/design/images/bgs/4.jpg'} ]) }); As you see, I declared the images' paths one by one. Is there any way to scan folder for images and add all at once. Maybe, it can be done with PHP? 回答1: It cannot be done with Javascript. But with a embedded

A “Before And After” Image Comparison Slide Control in Android

坚强是说给别人听的谎言 提交于 2019-12-03 13:57:56
Is there a possibility to build a image comparison slide control in Android as one that exists in HTML 5? http://thenewcode.com/819/A-Before-And-After-Image-Comparison-Slide-Control-in-HTML5 How can I achieve this thing? I have created library for this functionality, may be someone who steel need this feature,it will be good for them. compile 'com.github.developer--:beforeafterslider:1.0.4' One way is using a seekbar and a framelayout that sits on top of the original Image. As you slide the seekbar the frames height adjusts which contains the 2nd image. Code for top down reveal private SeekBar

图片导入的实现

自闭症网瘾萝莉.ら 提交于 2019-12-03 11:49:59
参考网页: https://github.com/bupy7/yii2-gridify-view http://demos.krajee.com/dialog 设想 用户点击朋友圈,可以选择更改头像。弹出对话框,选择头像。为简便,不增加剪切等功能,只提供在线更换,不提供上传功能。这个就是用于修改头像的。 一、安装 $ php composer.phar require bupy7/yii2-gridify-view "dev-master" $ php composer.phar require kartik-v/yii2-dialog "*" 其中,第二项,可能需要安装附加插件。在开发网站的时候,很多插件已经安装上了,遇到不能解决的问题,欢迎在下面留言。 二、使用 对于照片显示,需要一个能够访问的地址,为了访问这些照片,把这些照片作为公开的,不加权限的,可以任意访问。本文页面采用的 AdminLTE,所以在这个基础上继续本教程,如有不能继续,请等待 页面设计 博客的出现,致歉。 1、选择好头像放置在一个公共文件夹 假设你已经安装 https://github.com/dmstr/yii2-adminlte-asset 的 AdminLTE。本文的照片均放在 ./vendor/almasaeed2010/adminlte/dist/img/ 里。 分为 MVC 三部分来说。先说 C

Having problems with uploading photos to TwitPic using OAuth in Objective C on the iPhone

徘徊边缘 提交于 2019-12-03 10:25:07
问题 I have been working on an iPhone app that has a feature of uploading photos to TwitPic. I have it working with basic authentication. I am trying to get it working with OAuth. I am getting authentication errors. I have studied very carefully the TwitPic documentation. I am authorising the app by displaying a UI Web View and the it returns a PIN value. I enter the PIN value in the app and request the token. I am able to upload status updates to Twitter but not photos. My code is based on some

How to capture still image from webcam on linux

↘锁芯ラ 提交于 2019-12-03 09:22:54
问题 I am trying to write a C++/Qt program for linux, where I take a still image photo from a webcam, make some transformations to a photo (cropping, resizing, etc.), and save it to a jpeg file. But I have encountered some problems. The main problem is that standart UVC (usb video device class) linux driver currently does not support direct still image capture: http://www.ideasonboard.org/uvc/ . So, there are two possible ways to capture still image. You can take one frame from the video stream

Get gps location of a photo

和自甴很熟 提交于 2019-12-03 08:52:33
I know how to get the current GPS location of a mobile phone. I also know how to save the GPS location to the photo when you take it. (Camera option Samsung galaxy s2). But how can I get the GPS location of that photo (later)? When I open the photo on the computer, I can see the GPS location data, but got no idea how to extract them later in android. So could someone put me in the good direction? To make question more clearly: How can I get the GPS location of a photo that is already taken? Thanks already, Bigflow josnidhin made this answer possible, so be sure to give him credit too :) Here

detect if contact has photo

廉价感情. 提交于 2019-12-03 07:01:22
I've got an ImageView which I'm displaying a contacts picture using a Uri which always looks similar to this: content://com.android.contacts/contacts/34/photo How would I be able to detect whether this photo exists, as if it doesn't then I want to use a placeholder instead (stored in my drawable folder). At the moment it just shows a blank image. ng93 a function to get a contacts photo uri: public Uri getPhotoUri(Integer contactid) { Cursor photoCur = getContentResolver().query(ContactsContract.Contacts.CONTENT_URI,null, ContactsContract.Contacts.IN_VISIBLE_GROUP + " = '1'", null,

Photo Mosaic Algorithm. How to create a mosaic photo given the basic image and a list of tiles?

偶尔善良 提交于 2019-12-03 03:57:10
问题 Hy.What I have to do is to create a program (using C or C++), that takes as input a 24bits/pixel bitmap and a gathering of images and I have to create a mosaic image , similar to the input image using the library of images given(To create a mosaic Photo similar to the input). So far I can access the input's image pixels and the colors from it but I'm kind of stuck. My question is Where should I start? I need a basic algorithm that could do such a thing. And I can't really find any(maybe I'm