Re: [google-appengine] Re: Serving images

2015-06-17 Thread mohamed hassan
Salutations Stuart Langley,

Thanks for reply . What do you mean exactly ? can not i use
CloudStorageTools on compute engine ? how can use these features of this
class on compute engine please ?

Thanks .

On Wed, Jun 17, 2015 at 1:42 AM, Stuart Langley slang...@google.com wrote:

 FWIW CloudStorageTools only works on App Engine, not compute engine.

 On Tuesday, 16 June 2015 22:43:12 UTC+10, mohamed hassan wrote:

 Really thanks for quick reply . What i need is to use image resizing and
 cropping which exist in CloudStorageTools class which exist in Google PHP
 SDK i need to retrieve images without any reducing in its resolution so i
 wanted to use this feature from google so i need to know howa can i install
 google php sdk on my google compute engine using SSH please provide me with
 the commands that i can use to do that .

 Thanks .

 On Mon, Jun 15, 2015 at 9:08 PM, Michael (Cloud Platform Support) 
 mke...@google.com wrote:

 Hi Mohamed!

 What sort of issues are you running into when you try cropping and
 resizing images? How about when you try installing the PHP SDK? Are you
 noticing any particular error messages preventing you from using it at all?
 Also, once you have set this up, are you planning to allow users to access
 your project? We'll need more information before we can point you in the
 right direction.

 Cheers!

 On Monday, June 15, 2015 at 5:33:10 AM UTC-4, mohamed hassan wrote:

 Salutations ,

 Please i installed GCE and i need to use some features like crop images
 and resize them which they saved in my buckets . i am working on php
 project so i heard about Google PHP SDK but i couldn't use it on GCE . So
 can i use these features without using Google PHP SDK and if i can't can
 you please tell me how to install it on GCE in details knowing that i
 installed centos 6.5 .

 Thanks .

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/yHnZ_-Q4Hu0/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengi...@googlegroups.com.
 To post to this group, send email to google-a...@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/d26cddb7-230b-4544-a0b5-9e7c6033f70d%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/d26cddb7-230b-4544-a0b5-9e7c6033f70d%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/yHnZ_-Q4Hu0/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/e8359df9-87ee-4b31-a269-45d518b48b04%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/e8359df9-87ee-4b31-a269-45d518b48b04%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALyG8V%2B8%3DOn%3DV1tmjR8Om84noBEFcMgbSUbZNVoufHcWNvYApQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Serving images

2015-06-16 Thread mohamed hassan
Really thanks for quick reply . What i need is to use image resizing and
cropping which exist in CloudStorageTools class which exist in Google PHP
SDK i need to retrieve images without any reducing in its resolution so i
wanted to use this feature from google so i need to know howa can i install
google php sdk on my google compute engine using SSH please provide me with
the commands that i can use to do that .

Thanks .

On Mon, Jun 15, 2015 at 9:08 PM, Michael (Cloud Platform Support) 
mkev...@google.com wrote:

 Hi Mohamed!

 What sort of issues are you running into when you try cropping and
 resizing images? How about when you try installing the PHP SDK? Are you
 noticing any particular error messages preventing you from using it at all?
 Also, once you have set this up, are you planning to allow users to access
 your project? We'll need more information before we can point you in the
 right direction.

 Cheers!

 On Monday, June 15, 2015 at 5:33:10 AM UTC-4, mohamed hassan wrote:

 Salutations ,

 Please i installed GCE and i need to use some features like crop images
 and resize them which they saved in my buckets . i am working on php
 project so i heard about Google PHP SDK but i couldn't use it on GCE . So
 can i use these features without using Google PHP SDK and if i can't can
 you please tell me how to install it on GCE in details knowing that i
 installed centos 6.5 .

 Thanks .

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/yHnZ_-Q4Hu0/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/d26cddb7-230b-4544-a0b5-9e7c6033f70d%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/d26cddb7-230b-4544-a0b5-9e7c6033f70d%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALyG8VJV0FHZW4HWPeC6JcOq5SqY2KN8n7b5nhS1NJyntVd8SA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google PHP SDK

2015-06-16 Thread mohamed hassan
Hello ,

Please i want to know how can i install Google PHP SDK on online Google 
Compute Engine . Please provide me in details how can i do that .


Thanks .

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4b194310-e848-49a9-9ebd-4d5792317791%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Serving images

2015-06-15 Thread mohamed hassan
Salutations ,

Please i installed GCE and i need to use some features like crop images and 
resize them which they saved in my buckets . i am working on php project so 
i heard about Google PHP SDK but i couldn't use it on GCE . So can i use 
these features without using Google PHP SDK and if i can't can you please 
tell me how to install it on GCE in details knowing that i installed centos 
6.5 .

Thanks . 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/056a1440-7972-4826-a598-c8f15cdfe122%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Install PHP Google SDK on Centos6.5

2015-06-13 Thread mohamed hassan
Salutations ,

I need to use features like crop images and resize them which saved on my
buckets so how can i do that ? can i do that without Google PHP SDK ?

Thanks .

On Sun, Jun 14, 2015 at 2:20 AM, mohamed hassan mohamedhassan2...@gmail.com
 wrote:

 Salutations Mars Lan ,

 Thanks for quick reply . But i need to install google php sdk because i
 need to use some features of it not found in api-client-library
 https://developers.google.com/api-client-library/php/ yet so please how
 can install it on my centos 6.5 and calling it in my project .

 Thanks.

 On Sat, Jun 13, 2015 at 10:20 PM, Mars Lan mars...@google.com wrote:

 The App Engine SDK is designed only for the App Engine environment.
 You'll need to install the api client library instead:
 https://developers.google.com/api-client-library/php/

 On Saturday, June 13, 2015 at 8:46:24 AM UTC-7, mohamed hassan wrote:

 Hello ,

 I installed The LAMP stack which consists of Linux, Apache HTTP Server
 2.2, MySQL 5.5, and PHP 5.4 then i installed Centos 6.5 but I need to
 know how can i install PHP Google SDK on Centos 6.5 . and how can i include
 it in my php project.

 Thanks .

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/wM1xxIZYW2M/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/bf6092e5-abf0-49b6-a66e-a13f0eb21cec%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/bf6092e5-abf0-49b6-a66e-a13f0eb21cec%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.




-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALyG8VLpwyLh1MhLzO1n--CAEPG-PSXfXjMjhsF_jQma8Qfj1w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Install PHP Google SDK on Centos6.5

2015-06-13 Thread mohamed hassan
Salutations Mars Lan ,

Thanks for quick reply . But i need to install google php sdk because i
need to use some features of it not found in api-client-library
https://developers.google.com/api-client-library/php/ yet so please how
can install it on my centos 6.5 and calling it in my project .

Thanks.

On Sat, Jun 13, 2015 at 10:20 PM, Mars Lan mars...@google.com wrote:

 The App Engine SDK is designed only for the App Engine environment. You'll
 need to install the api client library instead:
 https://developers.google.com/api-client-library/php/

 On Saturday, June 13, 2015 at 8:46:24 AM UTC-7, mohamed hassan wrote:

 Hello ,

 I installed The LAMP stack which consists of Linux, Apache HTTP Server
 2.2, MySQL 5.5, and PHP 5.4 then i installed Centos 6.5 but I need to
 know how can i install PHP Google SDK on Centos 6.5 . and how can i include
 it in my php project.

 Thanks .

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/wM1xxIZYW2M/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/bf6092e5-abf0-49b6-a66e-a13f0eb21cec%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/bf6092e5-abf0-49b6-a66e-a13f0eb21cec%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALyG8VJyfn0AS5MKZwTwqxonwKWBpT%3DH9Rto_L0Fr0KE%2BCNXEw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Install PHP Google SDK on Centos6.5

2015-06-13 Thread mohamed hassan
Hello , 

I installed The LAMP stack which consists of Linux, Apache HTTP Server 2.2, 
MySQL 5.5, and PHP 5.4 then i installed Centos 6.5 but I need to know how 
can i install PHP Google SDK on Centos 6.5 . and how can i include it in my 
php project.

Thanks .

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/48d982db-fd83-4775-91b6-4f5a69937b31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] updae python to 2.7

2015-06-07 Thread mohamed hassan
Hello ,

I am using google cmpute engine and i installed cpanel on it using SSH and 
when i tried to get python version on it i found that it is 2.6.6 and i 
need to install google app engine sdk on it so i need it to be 2.7 so 
please can you tell me how can i update it to 2.7 using SSH .

Thanks .

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/24d75d67-5392-4e34-9b4b-1227e7699ac0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Google compute engine cpanel

2015-06-05 Thread mohamed hassan
Hello , 
I was trying to install cpanel on my google compute engine on my php project 
but I don't know how to do that and I can't find any documentation to execute 
that I heared about centos7 but I don't know what is it . I am sorry but can 
you provide with details how can I install cpanel to my php project on google 
compute engine . 

Thanks a lot .

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0554f4b1-dd99-4964-a98f-e59238d5b25c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] how can i get images from GAE cropped and resized php ?

2015-06-03 Thread mohamed hassan
Please i downloaded google-api-PHP-client from GitHub from this link ( 
https://github.com/google/google-api-php-client ) but i want to know how 
can i get images from my buckets resized or cropped using php code or 
should i use any other tool ? please provide me with an example to do that

Thanks .

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c3e10d32-b901-48a4-b524-0928ded40371%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: how can i get images from GAE cropped and resized php ?

2015-06-03 Thread mohamed hassan
Salutations Ryan,

I am sorry Ryan i am misunderstand how can display the cropped image from
this link ? can you please give me an example how can i execute this ?

Sorry for asking a lot .

Thanks Ryan.

On Wed, Jun 3, 2015 at 6:51 PM, Ryan (Cloud Platform Support) 
rbruy...@google.com wrote:

 That link will display the cropped image. You can then display it on your
 website as you would any other image link.


 On Wednesday, June 3, 2015 at 11:36:52 AM UTC-4, mohamed hassan wrote:

 Salutations Ryan,

 I am sorry for not being clarify with you . what i am asking about that
 can i use the ( google-api-php-client ) library for php to get re-sized or
 cropped images  and if not i used Google App engine SDK for php and used
 Cloud Storage Tools class on my locolhost as the following :

 $object_image_file = 'gs://zatrek/contact.jpg';
 $object_image_url =
 CloudStorageTools::getImageServingUrl($object_image_file,['size' = 400,
 'crop' = true]);
 echo $object_image_url;

 and i got as response
 http://localhost:8080/_ah/img/encoded_gs_file:emF0cmVrL2NvbnRhY3QuanBn=s400-c

 how can i use this link to get my image cropped ?

 Thanks Ryan .

 On Wed, Jun 3, 2015 at 4:19 PM, Ryan (Cloud Platform Support) 
 rbruy...@google.com wrote:

 Salutations Mohamed,

 I would check out this page on serving an image
 https://cloud.google.com/appengine/docs/php/googlestorage/images and this
 page for options
 https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl.
 If you run into issues I would recommend posting on StackOverflow
 http://stackoverflow.com/questions/tagged/google-app-engine+php. You
 should post what you have done and what error you receive. I would read
 this post first on how to ask a good question.
 http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on
 StackOverflow.

 On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote:

 Please i downloaded google-api-PHP-client from GitHub from this link (
 https://github.com/google/google-api-php-client ) but i want to know
 how can i get images from my buckets resized or cropped using php code or
 should i use any other tool ? please provide me with an example to do that

 Thanks .

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/e42c0b5b-d27c-43fe-a52e-853fbb9859f4%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALyG8VKnTMRX8QTUrDik2S9v84guqoGYDCwzCFLikGhNQpiXbA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: how can i get images from GAE cropped and resized php ?

2015-06-03 Thread mohamed hassan
Salutations Ryan,

I am sorry for not being clarify with you . what i am asking about that can
i use the ( google-api-php-client ) library for php to get re-sized or
cropped images  and if not i used Google App engine SDK for php and used
Cloud Storage Tools class on my locolhost as the following :

$object_image_file = 'gs://zatrek/contact.jpg';
$object_image_url =
CloudStorageTools::getImageServingUrl($object_image_file,['size' = 400,
'crop' = true]);
echo $object_image_url;

and i got as response
http://localhost:8080/_ah/img/encoded_gs_file:emF0cmVrL2NvbnRhY3QuanBn=s400-c

how can i use this link to get my image cropped ?

Thanks Ryan .

On Wed, Jun 3, 2015 at 4:19 PM, Ryan (Cloud Platform Support) 
rbruy...@google.com wrote:

 Salutations Mohamed,

 I would check out this page on serving an image
 https://cloud.google.com/appengine/docs/php/googlestorage/images and this
 page for options
 https://cloud.google.com/appengine/docs/php/refdocs/classes/google.appengine.api.cloud_storage.CloudStorageTools#method_getImageServingUrl.
 If you run into issues I would recommend posting on StackOverflow
 http://stackoverflow.com/questions/tagged/google-app-engine+php. You
 should post what you have done and what error you receive. I would read
 this post first on how to ask a good question.
 http://stackoverflow.com/help/how-to-ask We do monitor GCP tags on
 StackOverflow.

 On Wednesday, June 3, 2015 at 6:34:39 AM UTC-4, mohamed hassan wrote:

 Please i downloaded google-api-PHP-client from GitHub from this link (
 https://github.com/google/google-api-php-client ) but i want to know how
 can i get images from my buckets resized or cropped using php code or
 should i use any other tool ? please provide me with an example to do that

 Thanks .

  --
 You received this message because you are subscribed to a topic in the
 Google Groups Google App Engine group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/RIWoaLlLI9o/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.
 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com
 https://groups.google.com/d/msgid/google-appengine/0dc24aad-c5c0-44d2-b04f-16402e33b38b%40googlegroups.com?utm_medium=emailutm_source=footer
 .

 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CALyG8VJChVhRE%2BTBxYTLkz4R_a6juxRkxTy-WGyRFFU7S-KOsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GAE php CloudStorageTools class is missing

2015-06-02 Thread mohamed hassan
*Fatal error*: Call to undefined function make_call() in 
*C:\xampp\htdocs\google_cloud\google\appengine\runtime\RealApiProxy.php* on 
line *49*


*this is the error which we get when trying to use this code and i can't 
figure where is the problem in it ?*
On Friday, May 29, 2015 at 10:06:56 PM UTC+3, Mars Lan wrote:

 CloudStorageTool.php is part of the GAE PHP SDK so there's no need to 
 download and include it manually. Your example code from 
 https://cloud.google.com/appengine/docs/php/googlestorage/images should 
 work as-is. What error message are you getting?


 On Friday, May 29, 2015 at 10:51:42 AM UTC-7, Joe Seph wrote:

 Hey Patrice thanks for your quick reply ,
 I'm trying to use dynamic image feature using PHP app engine according to 
 the official documentation in order to use  this feature I have to use 
 CloudStorageTools . as declared in the following code 

 require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';
 use google\appengine\api\cloud_storage\CloudStorageTools;

 $object_image_file = 'gs://my-bucket/myfile.png';
 $object_image_url = CloudStorageTools::getImageServingUrl($object_image_file,
 ['size' = 400, 'crop' = true]);

 header('Location:' .$object_image_url);

 the problem that I can't find CloudStorageTools Class in Google 
 PHP client library .
 I have  a doubt that CloudStorageTools is a part of Google cloud storage 
 and I have to integrate both Google cloud storage and Google app engine 
 together in order to do the above code I could be mistaken .

 Thanks ,

 On Friday, May 29, 2015 at 6:13:34 AM UTC+3, Joe Seph wrote:

 I downloaded google-api-PHP-client from GitHub from this link ( 
 https://github.com/google/google-api-php-client ) and installed it on 
 my localhost then created a bucket on our google project and used storage 
 class from this library to upload files on this bucket . with this class i 
 could upload and get details of all files in any bucket on this project . 
 now I need to use tools called CloudStorageTools and i need to know if it 
 is separated on this library because I can't find this class and I need to 
 know how to install it in details and preferred if there is any example to 
 how install it on a localhost environment and how to install it on server 
 environment using PHP .

 Thanks .



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a915c03e-b894-49f4-a9ed-8aa6471b5e99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.