[buddypress-dev] Avatar upload

C Daniel c_daniel2002 at yahoo.com
Wed Jul 9 22:34:35 GMT 2008


Here is the whole thing from my activate.php, this is first page.

----------------------------------------------------------
<form action="http://mysite.com/wp-activate.php?key=20b4c0bad223e23b&amp;cropped=true" method="post">
<input type="hidden" name="slick_avatars_action" value="crop" />
<input type="hidden" name="action" value="slick_avatars" />
<input type="hidden" name="nonce" value="74a00ed6c8" />
<input type="hidden" name="orig" value="/var/www/vhosts/mysite.com/httpdocs/wp-content/blogs.dir/14/files/2008/07/anne.jpeg" />
<input type="hidden" name="canvas" value="/var/www/vhosts/mysite.com/httpdocs/wp-content/blogs.dir/14/files/2008/07/anne-181x250.jpg" />
<div id="avatar_v1">
<h3>Main Avatar</h3>
<p>Please select the area of your photo you would like to use for your avatar(50px x 50px).</p>
<div id="crop-v1" class="crop-img">
<img src="/wp-content/blogs.dir/14/files/2008/07/anne-181x250.jpg" width="181" height="250" border="0" alt="Select the area to crop" id="crop-v1-img" /></div>
<p><strong>Crop Preview</strong></p><div id="crop-preview-v1" class="crop-preview"></div><input type="hidden" id="v1_x1" name="v1_x1" value="" />
<input type="hidden" id="v1_y1" name="v1_y1" value="" />
<input type="hidden" id="v1_x2" name="v1_x2" value="" />
<input type="hidden" id="v1_y2" name="v1_y2" value="" />
<input type="hidden" id="v1_w" name="v1_w" value="" />
<input type="hidden" id="v1_h" name="v1_h" value="" />
<p class="submit">
<input type="button" name="avatar_continue" value="Crop &amp; Continue" onclick="cropAndContinue();" />
</p>
</div>
<div id="avatar_v2">
<h3>Alternate Avatar</h3>
<p>Please select the area of your photo you would like to use for an alternate version(220px x 220px).</p>
<div id="crop-v2" class="crop-img"><img src="/wp-content/blogs.dir/14/files/2008/07/anne-181x250.jpg" width="181" height="250" border="0" alt="Select the area to crop" id="crop-v2-img" />
</div>
<p><strong>Crop Preview</strong></p>
<div id="crop-preview-v2" class="crop-preview"></div>
<input type="hidden" id="v2_x1" name="v2_x1" value="" />
<input type="hidden" id="v2_y1" name="v2_y1" value="" />
<input type="hidden" id="v2_x2"name="v2_x2" value="" />
<input type="hidden" id="v2_y2"name="v2_y2" value="" />
<input type="hidden" id="v2_w" name="v2_w" value="" />
<input type="hidden" id="v2_h" name="v2_h" value="" />
<p class="submit"><input type="submit" name="submit" value="Crop &amp; Save" /></p></div>
<script type="text/javascript" charset="utf-8">
		jQuery(document).ready(function(){
			v1Cropper();
		});
	</script>


--- On Wed, 7/9/08, Martin <martin at thrive-magazine.com> wrote:

> From: Martin <martin at thrive-magazine.com>
> Subject: RE: [buddypress-dev] Avatar upload
> To: buddypress-dev at lists.automattic.com
> Date: Wednesday, July 9, 2008, 1:43 PM
> I just tried adding a new avatar to the site I'm
> developing on and appear to
> have a slightly different problem.
> 
> Can you do a view source of the avatar crop page and find
> the line that
> starts with <div
> class="wrap"><h2>Your Avatar</h2>?
> 
> What src do the image tags have on that line?
> 
> Hope this makes sense,
> 
> Martin
> 
> -----Original Message-----
> From: buddypress-dev-bounces at lists.automattic.com
> [mailto:buddypress-dev-bounces at lists.automattic.com] On
> Behalf Of C Daniel
> Sent: Wednesday, July 09, 2008 3:25 PM
> To: buddypress-dev at lists.automattic.com
> Subject: [buddypress-dev] Avatar upload
> 
> I am still having issues with this.
> 
> The images are in the blogs.dir, permissions are good - ok
> 
> I can see the reference in the source of html on
> activate.php - ok
> 
> Image is represented by grey box the size of my uploaded
> image with the crop
> box in the middle. - not ok
> 
> I am configured as subdirectory, no problems with any other
> part of process.
> Any ideas? I am current with code.
> 
> image attached has example
>  
> 
> 
>       
> 
> _______________________________________________
> buddypress-dev mailing list
> buddypress-dev at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/buddypress-dev


      


More information about the buddypress-dev mailing list