I'm building a simple app to take pictures of events in React Native. and am stuck on a problem.
I want to submit a photo album to a database to be displayed later. The album will include -- Album Name, Album Description, and Photos... but I'm having a hard time visualizing how to select multiple photos from the camera roll, manipulate them, submit them to a db.
I tried to figure out an order of how I would do accomplish this..
Create new event
Add event name
Add event description
Click button > Open Gallery
Select Multiple photos
Save photos to cache and display thumbnails in "Preview" component
Submit "Event" and photos to DB.
Am I even close? Any link to an article, or anything to point me in the right direction would be greatly appreciated.
You can these two libraries to easily complete your task.
https://github.com/react-community/react-native-image-picker ( For selecting multiple images from camera roll)
https://github.com/wkh237/react-native-fetch-blob (For uploading images )
Related
I am displaying pages of a PDF using react-pdf in my application. I have a button called 'add marking', which when clicked, should give the ability to add a mark (small circle component) on the PDF page at the location where I click.
I'm confused with how I should be approaching the problem. I am particularly stuck with what is the best way to get the x and y coordiantes of the click on the pdf. I want the mark to be the same wrt the pdf at all times.
I can't image how to create classifieds structure.
Example I have page for cars ads, and there can be fields year, price, and more.
And I have page for mobile phones where can be fields price, color, display size and so on. For another page can be another fields and I need add them dinamicly, it can bee select field, text input, or maybe checkbox.
So how I can add new fields for filtering ads, where to keep form validation rules?
Can someone please give me a sketch of db that can me explain all this process?
Start by sketching simple stuff, like ad title, price etc. Get a paper and list the features you need in a paper, then group them and write the sketch it to paper
I am using drupal7.12 cms. I have created menu. Menu have sub categories and i have inserted some stories. Issue is that, Images are displayed only on front page of site not on inner pages for that all stories.
If i set any of article to front page image will display for that article on front page. But when i want to read whole story it not showing image. Also when i click on any category then also it only shows text and alternative text for images.
I have stored all images in following folder "/sites/all/images/" Please help.... Thanks.
I am using JD Events template from http://www.joomlart.com/
It may be that you need adjust the display for your content type. Assuming you are using the article content type go to http://yoursite.com/admin/structure/types/manage/article/display and check the settings for your image field.
I have list of images in json format, and want to make an image gallery, but not with full features. Basically all I want is to display 4 pictures next to each other with 2 rows. And when the user clicks the thumbnail sees the large picture. How would I go about doing this.
If you're wanting to create an image gallery then everything you need is here:
http://dev.sencha.com/deploy/ext-4.0.0/examples/view/data-view.html
I am in designing the site something like hardrock memorabilia using slverlight DeepZoom.. And i have managed to create dynamic static image lists and it was working fine with all the zoom & Pan features..
But i wanted get the id or name of the clicked image to display the Information balloon around the selected image.. (Kind of highglighting)... Based on the image id i will hit the DB and get the image dtails..
can somebody help me out this???
,
I have found a way to achive this one.. and i have explained this here.. how-to-add-graphics-on