Upload an Image thro our own action handler

Author Message

Dhaval Patel

Saturday 20 September 2008 1:29:05 am

hello

I have created an action handler to update the user profile.

I succeed in updating other user attributes like (city, country etc..).

Now the problem is that I don't know how to upload and/or replace the user thumbnail with the new uploaded one.

so please please suggest me.

Thanks a lot in advance...

With Best Regards,

Dhaval Patel
Team Leader - iNETProcess(I) Pvt. LTD.
dhaval.patel@inetprocess.com
Ph No: +91 79 65 12 35 00
http://www.inetprocess.co.in

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:15:19
Script start
Timing: Jan 18 2025 19:15:19
Module start 'layout'
Timing: Jan 18 2025 19:15:19
Module start 'content'
Timing: Jan 18 2025 19:15:19
Module end 'content'
Timing: Jan 18 2025 19:15:19
Script end

Main resources:

Total runtime0.7390 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0084 588.0547152.6406
Module start 'layout' 0.00840.0046 740.695339.4766
Module start 'content' 0.01300.7246 780.1719426.4844
Module end 'content' 0.73760.0014 1,206.65638.1250
Script end 0.7390  1,214.7813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4789160.0002
Check MTime0.00140.1898160.0001
Mysql Total
Database connection0.00170.226410.0017
Mysqli_queries0.696994.3054460.0152
Looping result0.00040.0523440.0000
Template Total0.702195.020.3510
Template load0.00270.366720.0014
Template processing0.699494.636420.3497
Template load and register function0.00030.033810.0003
states
state_id_array0.00180.246910.0018
state_identifier_array0.00100.136320.0005
Override
Cache load0.00220.297590.0002
Sytem overhead
Fetch class attribute can translate value0.00050.073110.0005
Fetch class attribute name0.00050.067410.0005
XML
Image XML parsing0.00020.028310.0002
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00060.0852100.0001
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs