Submitted photo – Direct http link

Hi All,

Is that possible to get the direct http path of the image uploaded with the
form?

The uploaded images only can be seen in attachment section on CommCare site.

Thanks,
Shailesh

Hi Shailesh,

If you do a form export of your data, a few of the columns will indicate
the path to the image on our website. You can use that to create the right
URL to get the image.

Thanks,
Sheel

··· On Wednesday, July 24, 2013, Shailesh Mewada wrote:

Hi All,

Is that possible to get the direct http path of the image uploaded with
the form?

The uploaded images only can be seen in attachment section on CommCare
site.

Thanks,
Shailesh

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'commcare-users%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.

--
Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

Hi Sheel,

Glad to see (write) you after the workshop!

I have already tried that, but it is only allowing to view the image when I
am logged in on CommCare site. If not then there is a prompt for
username/password.
I want to check the image without login on the site.

Thanks,
Shailesh

··· On Wednesday, July 24, 2013 5:19:05 PM UTC+5:30, Sheel Shah wrote: > > Hi Shailesh, > > If you do a form export of your data, a few of the columns will indicate > the path to the image on our website. You can use that to create the right > URL to get the image. > > Thanks, > Sheel > > On Wednesday, July 24, 2013, Shailesh Mewada wrote: > >> Hi All, >> >> Is that possible to get the direct http path of the image uploaded with >> the form? >> >> The uploaded images only can be seen in attachment section on CommCare >> site. >> >> Thanks, >> Shailesh >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-users+unsubscribe@googlegroups.com. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > -- > Sheel Shah > Project Manager | Dimagi India > t: +91 1146704670 | m: +91 9560187282 > > > >

Hi Shailesh,

Due to security and privacy concerns this is not possible. Depending on
your use case, you can use a tool like curl to script downloading the
images while providing a stored password. This would look something like
this:

curl --digest -u "user:password" [url]

Cory

··· On Wed, Jul 24, 2013 at 8:05 AM, Shailesh Mewada wrote:

Hi Sheel,

Glad to see (write) you after the workshop!

I have already tried that, but it is only allowing to view the image when
I am logged in on CommCare site. If not then there is a prompt for
username/password.
I want to check the image without login on the site.

Thanks,
Shailesh

On Wednesday, July 24, 2013 5:19:05 PM UTC+5:30, Sheel Shah wrote:

Hi Shailesh,

If you do a form export of your data, a few of the columns will indicate
the path to the image on our website. You can use that to create the right
URL to get the image.

Thanks,
Sheel

On Wednesday, July 24, 2013, Shailesh Mewada wrote:

Hi All,

Is that possible to get the direct http path of the image uploaded with
the form?

The uploaded images only can be seen in attachment section on CommCare
site.

Thanks,
Shailesh

--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@**googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.

--
Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Hi Cory,

Thanks for the response.

I have tried curl script but I am getting error 500.

curl --digest -u "MYUSER:PASS" -k -L SERVERPATH/?attachment=FILENAME.jpg

Regards,
Shailesh

··· On Wednesday, July 24, 2013 7:15:34 PM UTC+5:30, Cory Zue wrote: > > Hi Shailesh, > > Due to security and privacy concerns this is not possible. Depending on > your use case, you can use a tool like curl to script downloading the > images while providing a stored password. This would look something like > this: > > curl --digest -u "user:password" [url] > > Cory > > On Wed, Jul 24, 2013 at 8:05 AM, Shailesh Mewada <shailes...@gmail.com wrote: > >> Hi Sheel, >> >> Glad to see (write) you after the workshop! >> >> I have already tried that, but it is only allowing to view the image when >> I am logged in on CommCare site. If not then there is a prompt for >> username/password. >> I want to check the image without login on the site. >> >> Thanks, >> Shailesh >> >> >> On Wednesday, July 24, 2013 5:19:05 PM UTC+5:30, Sheel Shah wrote: >>> >>> Hi Shailesh, >>> >>> If you do a form export of your data, a few of the columns will indicate >>> the path to the image on our website. You can use that to create the right >>> URL to get the image. >>> >>> Thanks, >>> Sheel >>> >>> On Wednesday, July 24, 2013, Shailesh Mewada wrote: >>> >>>> Hi All, >>>> >>>> Is that possible to get the direct http path of the image uploaded with >>>> the form? >>>> >>>> The uploaded images only can be seen in attachment section on CommCare >>>> site. >>>> >>>> Thanks, >>>> Shailesh >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "commcare-users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to commcare-users+unsubscribe@**googlegroups.com. >>>> For more options, visit https://groups.google.com/**groups/opt_out >>>> . >>>> >>>> >>>> >>> >>> >>> -- >>> Sheel Shah >>> Project Manager | Dimagi India >>> t: +91 1146704670 | m: +91 9560187282 >>> >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > >

Hey Shailesh,

Our logs have picked this up and it looks like you're using a filename that
isn't matching up with the forms. Make sure that the guid (long string of
letters and numbers) in the URL matches the form id, and that the filename
matches exactly the filename in the URL when you click on the attachment.
If you continue to have problems you can email commcarehq-support@dimagi.com
.

thanks,
Cory

··· On Thu, Jul 25, 2013 at 5:45 AM, Shailesh Mewada wrote:

Hi Cory,

Thanks for the response.

I have tried curl script but I am getting error 500.

curl --digest -u "MYUSER:PASS" -k -L SERVERPATH/?attachment=FILENAME.jpg

Regards,
Shailesh

On Wednesday, July 24, 2013 7:15:34 PM UTC+5:30, Cory Zue wrote:

Hi Shailesh,

Due to security and privacy concerns this is not possible. Depending on
your use case, you can use a tool like curl to script downloading the
images while providing a stored password. This would look something like
this:

curl --digest -u "user:password" [url]

Cory

On Wed, Jul 24, 2013 at 8:05 AM, Shailesh Mewada shailes...@gmail.comwrote:

Hi Sheel,

Glad to see (write) you after the workshop!

I have already tried that, but it is only allowing to view the image
when I am logged in on CommCare site. If not then there is a prompt for
username/password.
I want to check the image without login on the site.

Thanks,
Shailesh

On Wednesday, July 24, 2013 5:19:05 PM UTC+5:30, Sheel Shah wrote:

Hi Shailesh,

If you do a form export of your data, a few of the columns will
indicate the path to the image on our website. You can use that to create
the right URL to get the image.

Thanks,
Sheel

On Wednesday, July 24, 2013, Shailesh Mewada wrote:

Hi All,

Is that possible to get the direct http path of the image uploaded
with the form?

The uploaded images only can be seen in attachment section on CommCare
site.

Thanks,
Shailesh

--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/**grou**ps/opt_outhttps://groups.google.com/groups/opt_out
.

--
Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282

--
You received this message because you are subscribed to the Google
Groups "commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to commcare-user...@**googlegroups.com.

For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.

--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.